diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-12-19 08:55:11 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-12-19 08:55:11 (GMT) |
commit | 04136a558aae63b97284ddb4db626d79a3898d86 (patch) | |
tree | 202fdef165985ae0e44de33ed747a4e7a3849b11 /Modules | |
parent | 42da2be0b13bbd7bff7134faae0c5da4fb10a0ad (diff) | |
download | CMake-04136a558aae63b97284ddb4db626d79a3898d86.zip CMake-04136a558aae63b97284ddb4db626d79a3898d86.tar.gz CMake-04136a558aae63b97284ddb4db626d79a3898d86.tar.bz2 |
BUG: make CMAKE_USE_CHRPATH a simple variable instead an option, since an
option is not scriptable and so breaks the toolchain test
or maybe option() should be made scriptable ?
Alex
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFindBinUtils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake index 43f76f7..af48ffd 100644 --- a/Modules/CMakeFindBinUtils.cmake +++ b/Modules/CMakeFindBinUtils.cmake @@ -77,7 +77,7 @@ ENDIF(APPLE) IF(UNIX AND NOT APPLE AND NOT WIN32) # on ELF platforms there might be chrpath, which works similar to install_name_tool - OPTION(CMAKE_USE_CHRPATH "Enable this to use chrpath if available" OFF) + SET(CMAKE_USE_CHRPATH OFF CACHE BOOL "Enable this to use chrpath if available") FIND_PROGRAM(CMAKE_CHRPATH chrpath PATHS ${_CMAKE_TOOLCHAIN_LOCATION} NO_DEFAULT_PATH) FIND_PROGRAM(CMAKE_CHRPATH chrpath) |