summaryrefslogtreecommitdiff
path: root/gui/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gui/CMakeLists.txt')
-rw-r--r--gui/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 799022d..a640b61 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -65,6 +65,8 @@ target_compile_definitions("resources" PUBLIC
# Library
add_library("gui_impl"
+ "src/init.cpp"
+ "src/participant_row.cpp"
"src/settings.cpp"
)
@@ -81,10 +83,6 @@ target_link_libraries("gui_impl" PUBLIC
"PkgConfig::glib"
"PkgConfig::glibmm"
-
- "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--whole-archive>"
- "resources"
- "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>"
)
target_compile_definitions("gui_impl" PUBLIC
@@ -109,6 +107,10 @@ target_include_directories("gui" PUBLIC
target_link_libraries("gui" PUBLIC
"gui_impl"
+
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--whole-archive>"
+ "resources"
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>"
)
set_target_properties("gui" PROPERTIES
@@ -150,6 +152,10 @@ add_executable("gui-tests"
target_link_libraries("gui-tests" PRIVATE
"gui_impl"
"Catch2::Catch2WithMain"
+
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--whole-archive>"
+ "resources"
+ "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>"
)
target_compile_definitions("resources" PUBLIC