]> git.mxchange.org Git - flightgear.git/commitdiff
Added the dependency to Shlwapi for the Windows build (needed by SimGear).
authorBertrand Coconnier <bcoconni@users.sourceforge.net>
Sun, 3 Jul 2016 13:38:14 +0000 (15:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:46 +0000 (23:27 +0200)
CMakeLists.txt

index 390d94862a4d53332568ddc586a2fecd755c9245..de0b23cfa364b31730ca0dc72e80ed354bfc1060 100644 (file)
@@ -113,6 +113,9 @@ IF(APPLE)
 
     # using 10.7 because boost requires libc++ and 10.6 doesn't include it
     SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7")
+    SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.7")
+elseif(WIN32)
+    list(APPEND PLATFORM_LIBS "Shlwapi.lib")
 elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR
        ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
     find_package(Threads REQUIRED)