]> git.mxchange.org Git - flightgear.git/commitdiff
Set min-macos-version for CMake 3.2.1
authorJames Turner <zakalawe@mac.com>
Tue, 17 Mar 2015 16:56:52 +0000 (16:56 +0000)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:50 +0000 (23:27 +0200)
CMakeLists.txt

index 7d482a87c9aa626a7f1605b915678b523abe73e5..fa4a73bf3af0a97730039bd0622fbd5f2ed6b850 100644 (file)
@@ -113,9 +113,6 @@ 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)