diff options
author | Aleix Pol <aleixpol@kde.org> | 2017-10-25 02:18:00 +0200 |
---|---|---|
committer | Aleix Pol <aleixpol@kde.org> | 2017-10-26 01:07:08 +0200 |
commit | a078222073742e7869d467970a6ab2d2abf42197 (patch) | |
tree | 20a91a7fc4ee26cb36e00ef647237927883283c7 | |
parent | 936755106d850fe8cf84b19306537df2c1e3e245 (diff) | |
download | kconfig-a078222073742e7869d467970a6ab2d2abf42197.tar.gz kconfig-a078222073742e7869d467970a6ab2d2abf42197.tar.bz2 |
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
-rw-r--r-- | autotests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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() |