Fix compilation error when building without Blender
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 8 Aug 2017 09:32:33 +0000 (11:32 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 8 Aug 2017 09:32:33 +0000 (11:32 +0200)
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.

tests/CMakeLists.txt

index fa0b86a2637bb56b0328629cf48e29a1f8336507..64326f34377afc81de17e000c91cd7359b2f7729 100644 (file)
@@ -1,7 +1,8 @@
 
 # Python CTests
-add_subdirectory(python)
+if(WITH_BLENDER)
+       add_subdirectory(python)
+endif()
 
 # GTest
 add_subdirectory(gtests)
-