[Bf-blender-cvs] [edd0dbd23b0] blender-v2.79-release: Fix compilation error when building without Blender

Sergey Sharybin noreply at git.blender.org
Thu Aug 17 14:45:31 CEST 2017


Commit: edd0dbd23b06d7654aef5828502e81ac47160119
Author: Sergey Sharybin
Date:   Tue Aug 8 11:32:33 2017 +0200
Branches: blender-v2.79-release
https://developer.blender.org/rBedd0dbd23b06d7654aef5828502e81ac47160119

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.

===================================================================

M	tests/CMakeLists.txt

===================================================================

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)
-




More information about the Bf-blender-cvs mailing list