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

summaryrefslogtreecommitdiff
path: root/source/CMakeLists.txt
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-17 15:36:50 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-17 15:36:50 +1100
commit68b1632b926312b0ba23456bdd5dd50a1badb961 (patch)
treee61122bf3dcf47539f62349560e8e6aee7fd7025 /source/CMakeLists.txt
parent8d1d278e7beeff9efd61b426e7a4af2bd265fc21 (diff)
Update CMakeLists.txt
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r--source/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 8df566f..d038504 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -275,8 +275,8 @@ if(STAR_COMPILER_GNU)
set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -Ofast")
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -Ofast")
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -rpath,$ORIGIN")
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rpath,$ORIGIN")
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath,$ORIGIN")
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-rpath,$ORIGIN")
set(CMAKE_SKIP_BUILD_RPATH TRUE)
elseif(STAR_COMPILER_CLANG)