From 1365a02aea094be3f63aa8b118d8a71daf127f34 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 24 Feb 2015 12:36:28 +0000 Subject: [PATCH] Fix where we set OS-X deployment option. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de92fcfb..476d1569 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,12 +14,11 @@ include (CheckIncludeFile) include (CheckCXXSourceCompiles) include (CheckCXXCompilerFlag) -# set this before project() +project(SimGear) + # using 10.7 because boost requires libc++ and 10.6 doesn't include it set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7) -project(SimGear) - # read 'version' file into a variable (stripping any newlines or spaces) file(READ version versionFile) string(STRIP ${versionFile} SIMGEAR_VERSION) -- 2.39.5