From baafbc5d7716683e74dc3ecb5298b0322e9eca85 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 25 May 2025 23:00:25 +0200 Subject: gui: prepare locale reintroduction --- gui/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gui/CMakeLists.txt') diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 995b288..5222efa 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -31,6 +31,10 @@ glib_add_resources("resources" "metainfo.xml" ) +target_compile_definitions("resources" PUBLIC + "LOCALEDIR=\"$,${CMAKE_INSTALL_FULL_LOCALEDIR},${CMAKE_CURRENT_BINARY_DIR}/$>\"" +) + # Application add_executable("gui" "src/main.cpp") @@ -63,6 +67,7 @@ set_target_properties("gui" PROPERTIES CXX_EXTENSIONS OFF ) + configure_file("desktop.in" "ch.arknet.Turns.desktop") configure_file("metainfo.xml" "ch.arknet.Turns.metainfo.xml") configure_file("mime.xml" "ch.arknet.Turns.xml") -- cgit v1.2.3