From 47afda1b838936cb30717e654fa867e825e47a05 Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sun, 3 Jul 2016 14:36:22 +0200 Subject: [PATCH] The Shlwapi library is now needed for the Windows build (required in simgear/misc/sg_dir.cxx which calls to PathIsDirectoryEmpty) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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} -- 2.39.5