From 2a4e1bb14a524e765158fd5f53d93e609580265f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 16 Jul 2017 14:32:53 +0200 Subject: cmake: don't cache initial translation list --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ba838a3e..e5277d73 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,11 @@ include(opentrack-policy NO_POLICY_SCOPE) set_property(GLOBAL PROPERTY opentrack-all-modules "") set_property(GLOBAL PROPERTY opentrack-all-source-dirs "") -set(opentrack_all-translations "nl_NL;ru_RU;stub" CACHE STRING "") +set(opentrack_all-translations "" CACHE STRING "Leave empty for default") + +if(".${opentrack_all-translations}" STREQUAL ".") + set(opentrack_all-translations "nl_NL;ru_RU;stub") +endif() include(opentrack-word-size) include(opentrack-hier) -- cgit v1.2.3