From: James Turner Date: Tue, 17 Mar 2015 16:56:52 +0000 (+0000) Subject: Set min-macos-version for CMake 3.2.1 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54b6a26840b96719407210ae18cf029e09ca3b8a;p=flightgear.git Set min-macos-version for CMake 3.2.1 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d482a87c..fa4a73bf3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)