Fix where we set OS-X deployment option.
This commit is contained in:
+2
-3
@@ -14,12 +14,11 @@ include (CheckIncludeFile)
|
|||||||
include (CheckCXXSourceCompiles)
|
include (CheckCXXSourceCompiles)
|
||||||
include (CheckCXXCompilerFlag)
|
include (CheckCXXCompilerFlag)
|
||||||
|
|
||||||
# set this before project()
|
project(SimGear)
|
||||||
|
|
||||||
# using 10.7 because boost requires libc++ and 10.6 doesn't include it
|
# using 10.7 because boost requires libc++ and 10.6 doesn't include it
|
||||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7)
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7)
|
||||||
|
|
||||||
project(SimGear)
|
|
||||||
|
|
||||||
# read 'version' file into a variable (stripping any newlines or spaces)
|
# read 'version' file into a variable (stripping any newlines or spaces)
|
||||||
file(READ version versionFile)
|
file(READ version versionFile)
|
||||||
string(STRIP ${versionFile} SIMGEAR_VERSION)
|
string(STRIP ${versionFile} SIMGEAR_VERSION)
|
||||||
|
|||||||
Reference in New Issue
Block a user