]> git.mxchange.org Git - simgear.git/commitdiff
Fix where we set OS-X deployment option.
authorJames Turner <zakalawe@mac.com>
Tue, 24 Feb 2015 12:36:28 +0000 (12:36 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 24 Feb 2015 12:36:28 +0000 (12:36 +0000)
CMakeLists.txt

index de92fcfbfd8a36f180db19d0e1f5851bbbbfb389..476d1569da9c7968e7d3a9de69540f2214a209e4 100644 (file)
@@ -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)