From 970e85dce3272513f1310c51ed7943d99059c3fe Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 12 Jul 2016 01:49:09 +0200 Subject: [PATCH] Add cmake support for sspi implementation. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=96577 --- cmake/CMakeLists.txt | 2 +- cmake/dbus/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 5bb4240..ac9df55 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -469,7 +469,7 @@ if (WIN32) # bus-test expects a non empty string set (DBUS_USER "Administrator") set (DBUS_TEST_USER "guest") - set (DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL "") + set (DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL "DBUS_WINDOWS_SSPI_NTLM") else (WIN32) set (DBUS_SESSION_BUS_LISTEN_ADDRESS "unix:tmpdir=${DBUS_SESSION_SOCKET_DIR}" CACHE STRING "session bus default listening address") set (DBUS_SESSION_BUS_CONNECT_ADDRESS "autolaunch:" CACHE STRING "session bus fallback address for clients") diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt index c5c5ebd..fd85d89 100644 --- a/cmake/dbus/CMakeLists.txt +++ b/cmake/dbus/CMakeLists.txt @@ -276,7 +276,7 @@ if(WIN32) if(WINCE) target_link_libraries(dbus-1 ws2) else(WINCE) - target_link_libraries(dbus-1 ws2_32 advapi32 netapi32 iphlpapi dbghelp) + target_link_libraries(dbus-1 ws2_32 advapi32 netapi32 iphlpapi dbghelp secur32) endif(WINCE) else(WIN32) if(DEFINED DBUS_LIBRARY_REVISION) -- 2.6.6