Compile fix for scons:
authorThomas Dinges <blender@dingto.org>
Sat, 10 Sep 2011 08:25:03 +0000 (08:25 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 10 Sep 2011 08:25:03 +0000 (08:25 +0000)
* Don't compile with navmesh_conversion.cpp if Game engine is disabled.

source/blender/editors/util/SConscript

index 0ee64fbf9f20ee90e37672e03ce133ffdcf823ea..5cb46480e1f17412bde72fb74e386cf202679b44 100644 (file)
@@ -9,4 +9,7 @@ incs += ' ../../makesrna'
 incs += ' #extern/recastnavigation/Recast/Include'
 incs += ' ../../blenloader'
 
+if not env['WITH_BF_GAMEENGINE']:
+    sources.remove('navmesh_conversion.cpp')
+
 env.BlenderLib ( 'bf_editors_util', sources, Split(incs), [], libtype=['core','player'], priority=[130,210] )