aboutsummaryrefslogtreecommitdiff
path: root/translations
diff options
context:
space:
mode:
authorGuillaume LE VAILLANT <glv@posteo.net>2018-01-04 11:26:29 +0100
committerGuillaume LE VAILLANT <glv@posteo.net>2018-01-04 11:36:29 +0100
commitf035478d357d066ed18e2667c1edc6ff9dfe384b (patch)
tree7ddaab9202e872950ba5362fdd8fc41b3b048bae /translations
parentMerge pull request #3019 (diff)
downloadmonero-f035478d357d066ed18e2667c1edc6ff9dfe384b.tar.xz
Fix translations header generation when cross-compilating
Define generate_translations_header as an external project to be able to use the compilation toolchain for the host instead of the toolchain for the target.
Diffstat (limited to 'translations')
-rw-r--r--translations/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
index 36b72d68a..f74e63c76 100644
--- a/translations/CMakeLists.txt
+++ b/translations/CMakeLists.txt
@@ -28,6 +28,8 @@
cmake_minimum_required(VERSION 2.8.7)
+project(translations)
+
add_executable(generate_translations_header generate_translations_header.c)
find_program(LRELEASE lrelease)