diff options
author | David Cole <david.cole@kitware.com> | 2012-04-06 15:15:39 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-04-06 15:15:39 (GMT) |
commit | 6190415436bd00de65cd702e5e5e74061d0c8462 (patch) | |
tree | 530e0a50143316f338843188e5c09136a0f24d25 /Modules/Platform | |
parent | d9edf46760a39d230836a7b99fb4ac33d466c337 (diff) | |
download | CMake-6190415436bd00de65cd702e5e5e74061d0c8462.zip CMake-6190415436bd00de65cd702e5e5e74061d0c8462.tar.gz CMake-6190415436bd00de65cd702e5e5e74061d0c8462.tar.bz2 |
OS X: Mark find_program results as advanced
Avoid cluttering the gui with variables nearly nobody needs
to see.
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index ee1fc0e..f9d37c3 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -56,6 +56,7 @@ SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a") # hardcode CMAKE_INSTALL_NAME_TOOL here to install_name_tool, so it behaves as it did before, Alex IF(NOT DEFINED CMAKE_INSTALL_NAME_TOOL) FIND_PROGRAM(CMAKE_INSTALL_NAME_TOOL install_name_tool) + MARK_AS_ADVANCED(CMAKE_INSTALL_NAME_TOOL) ENDIF(NOT DEFINED CMAKE_INSTALL_NAME_TOOL) # Set the assumed (Pre 10.5 or Default) location of the developer tools @@ -63,6 +64,7 @@ SET(OSX_DEVELOPER_ROOT "/Developer") # Use the xcode-select tool if it's available (Xcode >= 3.0 installations) FIND_PROGRAM(CMAKE_XCODE_SELECT xcode-select) +MARK_AS_ADVANCED(CMAKE_XCODE_SELECT) IF(CMAKE_XCODE_SELECT) EXECUTE_PROCESS(COMMAND ${CMAKE_XCODE_SELECT} "-print-path" OUTPUT_VARIABLE OSX_DEVELOPER_ROOT |