diff options
-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() |