From 88d45641e8c06936635034cd83c8c7df1bd59439 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 12 Jul 2024 14:29:38 +0200 Subject: turns: add basic i18n --- test_support/CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'test_support/CMakeLists.txt') 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 +) -- cgit v1.2.3