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

summaryrefslogtreecommitdiff
path: root/source/client
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-17 15:56:29 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-17 15:56:29 +1100
commit4e0d7598e10a83ea416c6cf244b13181dd875cb9 (patch)
tree445f8abf08129ee481e6c26857c07ad61bb537c6 /source/client
parent3650add73a751580e7e35b90e0223b44a2ebbe38 (diff)
omg
Diffstat (limited to 'source/client')
-rw-r--r--source/client/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/client/CMakeLists.txt b/source/client/CMakeLists.txt
index 0ca0eaf..57b8231 100644
--- a/source/client/CMakeLists.txt
+++ b/source/client/CMakeLists.txt
@@ -33,4 +33,8 @@ IF(STAR_PRECOMPILED_HEADERS)
TARGET_PRECOMPILE_HEADERS (starbound REUSE_FROM star_core)
ENDIF()
+IF(UNIX)
+ set_target_properties (starbound PROPERTIES LINK_FLAGS "-Wl,-rpath,'$ORIGIN'")
+ENDIF()
+
TARGET_LINK_LIBRARIES (starbound ${STAR_EXT_LIBS} ${STAR_EXT_GUI_LIBS}) \ No newline at end of file