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:
commit
f59ad29a0e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue