Use win32 specific libs in SWIFTEN_LIBRARY

This commit is contained in:
HanzZ 2012-09-04 18:30:49 +02:00
parent e144f1a1f2
commit 0b0f016e49

View file

@ -105,11 +105,11 @@ if(WIN32 AND SWIFTEN_LIBRARY AND SWIFTEN_INCLUDE_DIR )
if (LIBXML_LIBRARY)
set(SWIFTEN_LIBRARY ${SWIFTEN_LIBRARY} ${LIBXML_LIBRARY})
endif()
set(SWIFTEN_LIBRARY Dnsapi)
set(SWIFTEN_LIBRARY Crypt32)
set(SWIFTEN_LIBRARY Secur32)
set(SWIFTEN_LIBRARY Iphlpapi)
set(SWIFTEN_LIBRARY Winscard)
set(SWIFTEN_LIBRARY "Dnsapi")
set(SWIFTEN_LIBRARY "Crypt32")
set(SWIFTEN_LIBRARY "Secur32")
set(SWIFTEN_LIBRARY "Iphlpapi")
set(SWIFTEN_LIBRARY "Winscard")
message(STATUS "Using swiften: ${SWIFTEN_INCLUDE_DIR} ${SWIFTEN_LIBRARY}")
else()
set(Swiften_DIR "${CMAKE_SOURCE_DIR}/cmake_modules")