CMake: cleanup
[blender-staging.git] / 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)
-