Added windows specific libraries

This commit is contained in:
HanzZ 2012-09-04 18:14:40 +02:00
parent 749dfc6af2
commit cfcacf9e0e

View file

@ -14,7 +14,11 @@ ADD_EXECUTABLE(spectrum2 ${SRC})
ADD_DEPENDENCIES(spectrum2 spectrum2_libpurple_backend)
ADD_DEPENDENCIES(spectrum2 spectrum2_libircclient-qt_backend)
if (WIN32)
target_link_libraries(spectrum2 transport ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY} Dnsapi Crypt32 Secur32 Iphlpapi Winscard)
else()
target_link_libraries(spectrum2 transport ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
endif()
INSTALL(TARGETS spectrum2 RUNTIME DESTINATION bin)