From 8e5e423f78f665d5789679063f0a6cc560da1bd5 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 15 Jan 2008 19:56:42 -0500 Subject: [PATCH] STYLE: fix infinished comment Alex --- Modules/CMakeFindBinUtils.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake index 851fed989..16750e39a 100644 --- a/Modules/CMakeFindBinUtils.cmake +++ b/Modules/CMakeFindBinUtils.cmake @@ -76,7 +76,8 @@ IF(APPLE) ENDIF(APPLE) # if we are on an ELF system, search for chrpath -# according to +# according to the binutils mailing list chrpath has problems when cross compiling +# i.e. if the target has different endianness than the host IF("${CMAKE_EXECUTABLE_FORMAT}" STREQUAL "ELF" AND NOT CMAKE_CROSSCOMPILING) # 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)