diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-13 11:00:52 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-13 11:00:52 -0400 |
commit | cae4e6b37a6ff7caf0748f2702fb503a9c95dcc8 (patch) | |
tree | 51115b16145313311c88cfd50409672c5f2b335e /Modules | |
parent | b323c3f51cc4caf7f8c26f86ba3dd4a08e964c4b (diff) | |
download | cmake-cae4e6b37a6ff7caf0748f2702fb503a9c95dcc8.tar.gz |
ENH: add patch for finding applications on OSX
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index fb70f3b44b..884690a451 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -73,6 +73,14 @@ SET(CMAKE_SYSTEM_FRAMEWORK_PATH /Network/Library/Frameworks /System/Library/Frameworks) +# default to searching for application bundles first +SET(CMAKE_FIND_APPBUNDLE FIRST) +# set up the default search directories for application bundles +SET(CMAKE_SYSTEM_APPBUNDLE_PATH + ~/Applications + /Applications + /Developer/Applications) + INCLUDE(Platform/UnixPaths) SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} /sw/include) SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} /sw/lib) |