Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/client/CMakeLists.txt2
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()