summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFindBinUtils.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-22 01:57:23 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-22 01:57:23 (GMT)
commit2b48e716b39be50ed165526e689fe8fd1ef3a45c (patch)
tree88c151129f05135d617bad5027443e132d60b877 /Modules/CMakeFindBinUtils.cmake
parent16247cbfc35607b62f175820fb90dc69fca9e3cb (diff)
downloadCMake-2b48e716b39be50ed165526e689fe8fd1ef3a45c.zip
CMake-2b48e716b39be50ed165526e689fe8fd1ef3a45c.tar.gz
CMake-2b48e716b39be50ed165526e689fe8fd1ef3a45c.tar.bz2
ENH: Cleanup chrpath feature by not displaying exe format or placing non-advanced options in cache.
Diffstat (limited to 'Modules/CMakeFindBinUtils.cmake')
-rw-r--r--Modules/CMakeFindBinUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index 16750e3..60d7dae 100644
--- a/Modules/CMakeFindBinUtils.cmake
+++ b/Modules/CMakeFindBinUtils.cmake
@@ -85,5 +85,5 @@ IF("${CMAKE_EXECUTABLE_FORMAT}" STREQUAL "ELF" AND NOT CMAKE_CROSSCOMPILING)
FIND_PROGRAM(CMAKE_CHRPATH chrpath PATHS ${_CMAKE_TOOLCHAIN_LOCATION} NO_DEFAULT_PATH)
FIND_PROGRAM(CMAKE_CHRPATH chrpath)
- MARK_AS_ADVANCED(CMAKE_CHRPATH)
+ MARK_AS_ADVANCED(CMAKE_CHRPATH CMAKE_USE_CHRPATH)
ENDIF("${CMAKE_EXECUTABLE_FORMAT}" STREQUAL "ELF" AND NOT CMAKE_CROSSCOMPILING)