mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user