diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-08-08 12:32:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-08-17 15:07:20 +0300 |
commit | edd0dbd23b06d7654aef5828502e81ac47160119 (patch) | |
tree | 8c99c85fca8b481f6a40b4d9514db03f31b5885f | |
parent | 8604557b75c0812fc8597c6decc252ba7058de93 (diff) |
Fix compilation error when building without Blender
Simply disabled python tests, they can't be run anyway (since blender target is
not enabled) and we don't have any player-related tests in that folder.
-rw-r--r-- | tests/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index fa0b86a2637..64326f34377 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,7 +1,8 @@ # Python CTests -add_subdirectory(python) +if(WITH_BLENDER) + add_subdirectory(python) +endif() # GTest add_subdirectory(gtests) - |