Git commit 1232d857690f21b30af553d52513c94be6d29e29 by Stephen Kelly. Committed on 07/11/2016 at 00:20. Pushed by skelly into branch 'master'. Only add the test if python is found M +3 -1 tests/CMakeLists.txt http://commits.kde.org/extra-cmake-modules/1232d857690f21b30af553d52513c94b= e6d29e29 diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 53008e1..2fad234 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -95,7 +95,9 @@ foreach(pyversion 2 3) ) endif() endforeach() -add_test_macro(GenerateSipBindings ${pythonCommands}) +if (pythonCommands) + add_test_macro(GenerateSipBindings ${pythonCommands}) +endif() = add_test_macro(ExecuteCoreModules dummy) add_test_macro(ExecuteKDEModules dummy)