Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-08-08 12:32:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-08-08 12:32:33 +0300
commitb53e35c655d40769e46cbe91929531fbe20d2977 (patch)
treec0a626629fd9e457cfcc5f53d2111357c01bb9e5 /tests/CMakeLists.txt
parent6af7d7e05e31ef016b2d340a56311b3399f6814f (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.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt5
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)
-