summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorKashif Rasul <kashif@nomad-labs.com>2012-03-26 13:24:04 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-26 13:28:56 (GMT)
commit98b9a7f6ffa733a6fdcf06ede839932b770dc7c6 (patch)
tree8d03a8b4a57d78fbaac7eb7ffd12531fa5d50861 /Modules/Platform
parent58db6ac2991ee00536f7aded84811f1e3eead906 (diff)
downloadCMake-98b9a7f6ffa733a6fdcf06ede839932b770dc7c6.zip
CMake-98b9a7f6ffa733a6fdcf06ede839932b770dc7c6.tar.gz
CMake-98b9a7f6ffa733a6fdcf06ede839932b770dc7c6.tar.bz2
OS X: Use OSX_DEVELOPER_ROOT for app search path (#13066)
Since commit 4693cf84 (Xcode: Detect new default locations of Xcode 4.3 bits and pieces) Darwin.cmake detects the developer application directory instead of hard-coding /Developer. Replace the hard-coded path in CMAKE_SYSTEM_APPBUNDLE_PATH using the computed result.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Darwin.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index c4b5635..b8357d1 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -242,7 +242,7 @@ SET(CMAKE_FIND_APPBUNDLE FIRST)
SET(CMAKE_SYSTEM_APPBUNDLE_PATH
~/Applications
/Applications
- /Developer/Applications)
+ ${OSX_DEVELOPER_ROOT}/Applications)
INCLUDE(Platform/UnixPaths)
LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH