diff options
Diffstat (limited to 'gui/CMakeLists.txt')
| -rw-r--r-- | gui/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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=\"$<IF:$<BOOL:${TURNS_USE_INSTALLED_TRANSLATIONS}>,${CMAKE_INSTALL_FULL_LOCALEDIR},${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>>\"" +) + # 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") |
