Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2012-03-10 20:39:51 +0400
committerJens Verwiebe <info@jensverwiebe.de>2012-03-10 20:39:51 +0400
commit24ea07154e33e4fa4187ebea46cae976762f9ec7 (patch)
tree74681ce1bc5fdf0f445325090d52e1f7f76efed0 /CMakeLists.txt
parentbe9aa6eadad992b8a15c95d557d9f27d8f571983 (diff)
OSX/cmake: added a comment on method used
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d84c440232c..25ed193b266 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1099,6 +1099,8 @@ elseif(APPLE)
if(${XCODE_VERSION} LESS 4.3)
SET(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX${CMAKE_OSX_DEPLOYMENT_TARGET}.sdk CACHE PATH "" FORCE )
else()
+ # note: i don't use xcode-select path on purpose, cause also /Applications/Xcode.app would be allowed
+ # absolute pathes are more foolproof here !
SET(OSX_SYSROOT_PREFIX /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform)
SET(OSX_DEVELOPER_PREFIX /Developer/SDKs/MacOSX${CMAKE_OSX_DEPLOYMENT_TARGET}.sdk)
SET(CMAKE_OSX_SYSROOT ${OSX_SYSROOT_PREFIX}/${OSX_DEVELOPER_PREFIX} CACHE PATH "" FORCE)