From 3e2af32c8a7eb9c2c81e8c36f887e5c3474ec671 Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sun, 3 Jul 2016 15:38:14 +0200 Subject: [PATCH] Added the dependency to Shlwapi for the Windows build (needed by SimGear). --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5