From d87f1b96c9953aafef35f54c41f872d0e63bfac0 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sun, 19 May 2019 04:45:07 +0000 Subject: [PATCH] make it easier to build the translations only Signed-off-by: Ivailo Monev --- CMakeLists.txt | 6 +++--- translations/CMakeLists.txt | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 translations/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index afee889a6..3d39d46bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -622,6 +622,9 @@ add_subdirectory(src/uitools) # generators add_subdirectory(src/tools) +# translations +add_subdirectory(translations) + # tests and benchmarks if(ENABLE_TESTING) add_subdirectory(tests) @@ -989,9 +992,6 @@ configure_file( @ONLY ) -file(GLOB TRANSLATIONS "translations/*.ts") -katie_translations(${TRANSLATIONS}) - install( DIRECTORY mkspecs DESTINATION ${KATIE_CMAKE_RELATIVE} diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt new file mode 100644 index 000000000..a591dfd8b --- /dev/null +++ b/translations/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB TRANSLATIONS "*.ts") +katie_translations(${TRANSLATIONS})