diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-06-03 15:31:22 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-06-03 15:31:22 +1000 |
commit | d9fff33932780124614059ffa06bdfe9dee097c4 (patch) | |
tree | 2aff2cf3638eb597e3c620dd80f7f102dd8fdc3b /source/client/CMakeLists.txt | |
parent | 14a406531087a2614b235356aaa49ebf6a3eb77c (diff) |
@executable_path instead
Diffstat (limited to 'source/client/CMakeLists.txt')
-rw-r--r-- | source/client/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/CMakeLists.txt b/source/client/CMakeLists.txt index 312606e..c1060a5 100644 --- a/source/client/CMakeLists.txt +++ b/source/client/CMakeLists.txt @@ -36,7 +36,7 @@ IF (STAR_PRECOMPILED_HEADERS) ENDIF() IF(STAR_SYSTEM_MACOS) - SET_TARGET_PROPERTIES (starbound PROPERTIES LINK_FLAGS "-Wl,-rpath,'@loader_path'") + SET_TARGET_PROPERTIES (starbound PROPERTIES LINK_FLAGS "-Wl,-rpath,'@executable_path'") ELSEIF (UNIX) SET_TARGET_PROPERTIES (starbound PROPERTIES LINK_FLAGS "-Wl,-rpath,'$ORIGIN'") ENDIF() |