fixed linking with CMake

This commit is contained in:
Campbell Barton
2011-09-10 03:42:45 +00:00
parent 0128218254
commit fb4abf2e41
4 changed files with 9 additions and 3 deletions

View File

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

View File

@@ -819,6 +819,8 @@ endif()
bf_blenfont
bf_intern_audaspace
bf_intern_mikktspace
extern_recastnavigation
bf_editor_util # --- BAD LEVEL CALL HERE --- XXX, this should be removed before release!
)
if(WITH_MOD_CLOTH_ELTOPO)

View File

@@ -59,7 +59,7 @@ set(INC_SYS
${GLEW_INCLUDE_PATH}
../../../extern/recastnavigation/Recast/Include
../../../extern/recastnavigation/Detour/Include
../../../source/blender/editors/include
../../blender/editors/include
)
set(SRC