From d9fff33932780124614059ffa06bdfe9dee097c4 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 3 Jun 2025 15:31:22 +1000 Subject: @executable_path instead --- source/client/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/client') 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() -- cgit v1.2.3