Merge pull request #4669 from Orphis/macosx_rpath

cmake: Set MACOSX_RPATH to OFF
This commit is contained in:
Matthew Parlane 2017-01-17 16:32:14 +13:00 committed by GitHub
commit a05b7b3922
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ if (APPLE)
set(CMAKE_C_COMPILER "clang") set(CMAKE_C_COMPILER "clang")
endif() endif()
endif() endif()
# This doesn't play with with the packaging script that doesn't understand @rpath
set(CMAKE_MACOSX_RPATH OFF)
endif() endif()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests)
# Libraries to link # Libraries to link