summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-02-28 15:27:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-02-28 15:27:30 (GMT)
commit7603244509ad40a5109476f20542bd43354ceba7 (patch)
treee8676b7078ef74fa3584fb4e678cb20ca2935db6 /Modules/Platform
parent7db64cdb2831e76daf59fff3715ebb1fb1fc3747 (diff)
downloadCMake-7603244509ad40a5109476f20542bd43354ceba7.zip
CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.gz
CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.bz2
ENH: use program files env for searching
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Darwin.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index 46374cf..c8dbd87 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -37,3 +37,12 @@ SET(CMAKE_C_CREATE_SHARED_MODULE
SET(CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES /usr/local/include)
+# default to searching for frameworks first
+SET(CMAKE_FIND_FRAMEWORK FIRST)
+# set up the default search directories for frameworks
+SET(CMAKE_SYSTEM_FRAMEWORK_PATH
+ ~/Library/Frameworks
+ /Library/Frameworks;/Network
+ /Network/Library/Frameworks
+ /System/Library/Frameworks)
+