2 Commits

Author SHA1 Message Date
leo60228
30bdb47f80 Don't overwrite existing CMAKE_EXE_LINKER_FLAGS 2026-01-24 18:57:31 -05:00
Ethan Lee
f22ae5fbf5 CMake: Use rpath, not runpath 2025-07-05 18:07:45 -04:00

View File

@@ -54,6 +54,7 @@ if(NOT WIN32)
elseif(CMAKE_SIZEOF_VOID_P MATCHES "8")
set(BIN_LIBROOT "lib64")
set(BIN_RPATH "\$ORIGIN/lib64")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--disable-new-dtags")
else()
set(BIN_LIBROOT "lib")
set(BIN_RPATH "\$ORIGIN/lib")