From 1dc5ad039e34797500388572ad37c826b8116d45 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 5 Aug 2018 14:59:06 +0200 Subject: [PATCH] Fixed: Link NELGUI to Crypt32.lib and Cryptui.lib under Windows --HG-- branch : develop --- code/nel/src/gui/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/nel/src/gui/CMakeLists.txt b/code/nel/src/gui/CMakeLists.txt index cdd090f0b..a5f157c01 100644 --- a/code/nel/src/gui/CMakeLists.txt +++ b/code/nel/src/gui/CMakeLists.txt @@ -9,6 +9,11 @@ NL_TARGET_LIB(nelgui ${SRC} ${HEADERS}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${LUA_INCLUDE_DIR} ${LUABIND_INCLUDE_DIR} ${CURL_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(nelgui nelmisc nel3d ${LUA_LIBRARIES} ${LUABIND_LIBRARIES} ${CURL_LIBRARIES} ${OPENSSL_LIBRARIES}) + +IF(WIN32) + TARGET_LINK_LIBRARIES(nelgui Crypt32 Cryptui) +ENDIF() + NL_DEFAULT_PROPS(nelgui "NeL, Library: NeL GUI") NL_ADD_RUNTIME_FLAGS(nelgui)