mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
cmake: Set MACOSX_RPATH to OFF
In newer versions of CMake, the variable is ON by default. This generates imports like @rpath/libusb.dylib which the packaging script doesn’t understand. We don’t really need @rpath, so we can just disable it at the global scope instead of fixing the script.
This commit is contained in:
parent
7e52f867c1
commit
5955c86ec5
@ -82,6 +82,9 @@ if (APPLE)
|
||||
set(CMAKE_C_COMPILER "clang")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# This doesn't play with with the packaging script that doesn't understand @rpath
|
||||
set(CMAKE_MACOSX_RPATH OFF)
|
||||
endif()
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests)
|
||||
# Libraries to link
|
||||
|
Loading…
Reference in New Issue
Block a user