aboutsummaryrefslogtreecommitdiffstats
path: root/tools/rescompiler/bin/CMakeLists.linux.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rescompiler/bin/CMakeLists.linux.txt')
-rw-r--r--tools/rescompiler/bin/CMakeLists.linux.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/rescompiler/bin/CMakeLists.linux.txt b/tools/rescompiler/bin/CMakeLists.linux.txt
index 1e812927a1..970f878c13 100644
--- a/tools/rescompiler/bin/CMakeLists.linux.txt
+++ b/tools/rescompiler/bin/CMakeLists.linux.txt
@@ -15,11 +15,7 @@ target_link_libraries(rescompiler PUBLIC
library-cpp-cpuid_check
library-cpp-resource
)
-target_sources(rescompiler PRIVATE
- ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp
-)
-target_link_flags(rescompiler
- PUBLIC
+target_link_options(rescompiler PRIVATE
-ldl
-lrt
-Wl,--no-as-needed
@@ -29,4 +25,7 @@ target_link_flags(rescompiler
-lrt
-ldl
)
+target_sources(rescompiler PRIVATE
+ ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp
+)
vcs_info(rescompiler)