]> git.mxchange.org Git - simgear.git/commitdiff
The Shlwapi library is now needed for the Windows build (required in simgear/misc...
authorBertrand Coconnier <bcoconni@users.sourceforge.net>
Sun, 3 Jul 2016 12:36:22 +0000 (14:36 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
CMakeLists.txt

index 603c830f87e2669bf76fcb80f65a38ebecabf035..90bf1d2364590b06d9721fe6987aad22ecdc3573 100644 (file)
@@ -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}