summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-i18n.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-17 17:59:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-17 17:59:03 +0200
commit6e1464ff852cbb1ad855c3e9cbe5fefe6689ec28 (patch)
tree6bdc5902a6d5f6654d8bd3e4cc42552d73b2822c /cmake/opentrack-i18n.cmake
parentdc1ae8008de823fe3dac158d16487c4c5f71a832 (diff)
cmake: move unix i18n to share/opentrack/i18n
Diffstat (limited to 'cmake/opentrack-i18n.cmake')
-rw-r--r--cmake/opentrack-i18n.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index 3dd8ac9d..e1c86a39 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -37,7 +37,8 @@ function(otr_i18n_for_target_directory n)
endfunction()
function(otr_merge_translations)
- install(CODE "file(REMOVE_RECURSE \"\${CMAKE_INSTALL_PREFIX}/i18n\")")
+ otr_escape_string(i18n-pfx "${opentrack-i18n-pfx}")
+ install(CODE "file(REMOVE_RECURSE \"\${CMAKE_INSTALL_PREFIX}/${i18n-pfx}\")")
get_property(variant GLOBAL PROPERTY opentrack-variant)
if(NOT ".${variant}" STREQUAL ".default")