mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-07-07 19:45:00 +00:00
CMake: Use rpath, not runpath
This commit is contained in:
parent
6ae4de1f94
commit
cd26810e9a
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ if(NOT WIN32)
|
||||||
elseif(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
elseif(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||||
set(BIN_LIBROOT "lib64")
|
set(BIN_LIBROOT "lib64")
|
||||||
set(BIN_RPATH "\$ORIGIN/lib64")
|
set(BIN_RPATH "\$ORIGIN/lib64")
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--disable-new-dtags")
|
||||||
else()
|
else()
|
||||||
set(BIN_LIBROOT "lib")
|
set(BIN_LIBROOT "lib")
|
||||||
set(BIN_RPATH "\$ORIGIN/lib")
|
set(BIN_RPATH "\$ORIGIN/lib")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue