Fixed: Don't set CMAKE_OSX_DEPLOYMENT_TARGET anymore by default, only use that if you need
This commit is contained in:
parent
a8cabc90d1
commit
2fe67e96e4
1 changed files with 2 additions and 4 deletions
|
@ -41,10 +41,8 @@ INCLUDE(${CMAKE_ROOT}/Modules/Documentation.cmake OPTIONAL)
|
||||||
# Force out of source builds.
|
# Force out of source builds.
|
||||||
CHECK_OUT_OF_SOURCE()
|
CHECK_OUT_OF_SOURCE()
|
||||||
|
|
||||||
# Specify Mac OS X deployment target before including Darwin.cmake
|
# To be able to specify a different deployment target on Mac OS X, specify :
|
||||||
IF(NOT CMAKE_OSX_DEPLOYMENT_TARGET)
|
# -DCMAKE_OSX_DEPLOYMENT_TARGET=10.6 -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
|
||||||
SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.6")
|
|
||||||
ENDIF(NOT CMAKE_OSX_DEPLOYMENT_TARGET)
|
|
||||||
|
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||||
PROJECT(RyzomCore CXX C)
|
PROJECT(RyzomCore CXX C)
|
||||||
|
|
Loading…
Reference in a new issue