From: Bertrand Coconnier Date: Sun, 3 Jul 2016 12:36:22 +0000 (+0200) Subject: The Shlwapi library is now needed for the Windows build (required in simgear/misc... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=47afda1b838936cb30717e654fa867e825e47a05;p=simgear.git The Shlwapi library is now needed for the Windows build (required in simgear/misc/sg_dir.cxx which calls to PathIsDirectoryEmpty) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 603c830f..90bf1d23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -382,6 +382,7 @@ if(WIN32) set(HAVE_GETLOCALTIME 1) set( WINSOCK_LIBRARY "ws2_32.lib" ) + set( SHLWAPI_LIBRARY "Shlwapi.lib" ) set( RT_LIBRARY "winmm" ) endif(WIN32) @@ -426,6 +427,7 @@ set(TEST_LIBS_INTERNAL_CORE ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARY} ${WINSOCK_LIBRARY} + ${SHLWAPI_LIBRARY} ${RT_LIBRARY} ${DL_LIBRARY} ${COCOA_LIBRARY}