From: Bertrand Coconnier Date: Sun, 3 Jul 2016 13:38:14 +0000 (+0200) Subject: Added the dependency to Shlwapi for the Windows build (needed by SimGear). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e2af32c8a7eb9c2c81e8c36f887e5c3474ec671;p=flightgear.git Added the dependency to Shlwapi for the Windows build (needed by SimGear). --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 390d94862..de0b23cfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)