From a078222073742e7869d467970a6ab2d2abf42197 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 25 Oct 2017 02:18:00 +0200 Subject: Don't build the kconfig_compiler tests when crosscompiling Summary: We will be using an external version of it in practice Reviewers: #frameworks, davidedmundson Reviewed By: davidedmundson Tags: #frameworks Differential Revision: https://phabricator.kde.org/D8457 --- autotests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index fd3816d1..efc36b7b 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -67,5 +67,7 @@ set_tests_properties(kconfigcore-kconfigtest PROPERTIES RUN_SERIAL TRUE) set_tests_properties(kconfigcore-kconfignokdehometest PROPERTIES RUN_SERIAL TRUE) set_tests_properties(kconfiggui-kconfigguitest PROPERTIES RUN_SERIAL TRUE) -add_subdirectory(kconfig_compiler) +if (NOT CMAKE_CROSSCOMPILING) + add_subdirectory(kconfig_compiler) +endif() endif() -- cgit v1.2.1