disable navmesh feature when building without the game engine.

This commit is contained in:
Campbell Barton
2011-09-10 04:21:58 +00:00
parent fb4abf2e41
commit 01dca44a84
6 changed files with 38 additions and 8 deletions

View File

@@ -43,10 +43,9 @@ if(WITH_BUILTIN_GLEW)
add_subdirectory(glew)
endif()
## TODO MAKE GAME ENGINE ONLY
# if(WITH_GAMEENGINE)
if(WITH_GAMEENGINE)
add_subdirectory(recastnavigation)
# endif()
endif()
if(WITH_IMAGE_OPENJPEG AND (NOT UNIX OR APPLE))
add_subdirectory(libopenjpeg)