From bfa30ed79cffee4f5c0d33b7fe7bd64581be3fdf Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 30 May 2025 11:45:54 +0200 Subject: gui: reintroduce ParticipantRow --- gui/CMakeLists.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'gui/CMakeLists.txt') 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" - - "$<$:-Wl,--whole-archive>" - "resources" - "$<$:-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" + + "$<$:-Wl,--whole-archive>" + "resources" + "$<$:-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" + + "$<$:-Wl,--whole-archive>" + "resources" + "$<$:-Wl,--no-whole-archive>" ) target_compile_definitions("resources" PUBLIC -- cgit v1.2.3