diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-11-07 00:19:52 +0000 |
---|---|---|
committer | l10n daemon script <scripty@kde.org> | 2016-11-07 14:54:55 +0000 |
commit | 44aa96c43640ac10b3f2da76af6344ef49460fdb (patch) | |
tree | 83e487d9623fdb0470a77c37911019da0072d687 | |
parent | b60f1116b2cf0401f52060d7bdf0c524b918d23a (diff) | |
download | extra-cmake-modules-5.28.0-rc3.tar.gz extra-cmake-modules-5.28.0-rc3.tar.bz2 |
Only add the test if python is foundv5.28.0-rc3v5.28.0
(cherry picked from commit 1232d857690f21b30af553d52513c94be6d29e29)
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 53008e15..2fad234f 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) |