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
wilder
Aleix Pol 9 years ago
parent 936755106d
commit a078222073
  1. 4
      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()

Loading…
Cancel
Save