From ed3a5e577f71193eefe730e3465664fdb47ac0ad Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 22 Sep 2016 18:47:53 +0200 Subject: [PATCH] Changed: Link to Version.lib, see #279 --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/CMakeLists.txt b/code/ryzom/tools/client/ryzom_installer/CMakeLists.txt index 55e2e18bc..333e3e7d2 100644 --- a/code/ryzom/tools/client/ryzom_installer/CMakeLists.txt +++ b/code/ryzom/tools/client/ryzom_installer/CMakeLists.txt @@ -46,6 +46,10 @@ NL_ADD_RUNTIME_FLAGS(ryzom_installer_qt) NL_ADD_LIB_SUFFIX(ryzom_installer_qt) TARGET_LINK_LIBRARIES(ryzom_installer_qt nelmisc ryzom_sevenzip ${QT_LIBRARIES}) +IF(WIN32) + TARGET_LINK_LIBRARIES(ryzom_installer_qt nelmisc ${WINSDK_LIBRARY_DIR}/Version.lib) +ENDIF() + IF(WITH_PCH) ADD_NATIVE_PRECOMPILED_HEADER(ryzom_installer_qt ${CMAKE_CURRENT_SOURCE_DIR}/src/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/src/stdpch.cpp) ENDIF()