[cmake-commits] alex committed CMakeFindBinUtils.cmake 1.9 1.10
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Dec 19 03:55:13 EST 2007
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv16813
Modified Files:
CMakeFindBinUtils.cmake
Log Message:
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
Index: CMakeFindBinUtils.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeFindBinUtils.cmake,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- CMakeFindBinUtils.cmake 18 Dec 2007 22:50:27 -0000 1.9
+++ CMakeFindBinUtils.cmake 19 Dec 2007 08:55:11 -0000 1.10
@@ -77,7 +77,7 @@
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)
More information about the Cmake-commits
mailing list