aboutsummaryrefslogtreecommitdiff
path: root/test_support/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test_support/CMakeLists.txt')
-rw-r--r--test_support/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/test_support/CMakeLists.txt b/test_support/CMakeLists.txt
index 04bb256..fe30782 100644
--- a/test_support/CMakeLists.txt
+++ b/test_support/CMakeLists.txt
@@ -1,3 +1,5 @@
+get_target_property(TRANSLATIONS_BINARY_DIR "lang" BINARY_DIR)
+
add_library("test_support-gtk" OBJECT
"src/gtk_main.cpp"
)
@@ -8,7 +10,13 @@ target_compile_features("test_support-gtk" PRIVATE
"cxx_std_23"
)
+target_compile_definitions("test_support-gtk" PUBLIC
+ "TESTLOCALEDIR=\"${TRANSLATIONS_BINARY_DIR}\""
+)
+
target_link_libraries("test_support-gtk" PUBLIC
+ "turns::lang"
+
"PkgConfig::adwaita"
"PkgConfig::gtkmm"
-) \ No newline at end of file
+)