Merge topic 'no-cross-install_name_tool'

591a7388 OS X: Only search for install_name_tool if the toolchain has it
This commit is contained in:
Brad King 2014-07-07 08:54:25 -04:00 committed by CMake Topic Stage
commit f59ad29a0e
1 changed files with 1 additions and 3 deletions

View File

@ -66,9 +66,7 @@ else()
endif()
# on Apple there really should be install_name_tool
if(APPLE)
if(CMAKE_PLATFORM_HAS_INSTALLNAME)
find_program(CMAKE_INSTALL_NAME_TOOL NAMES install_name_tool HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
if(NOT CMAKE_INSTALL_NAME_TOOL)