fixed linking with CMake
This commit is contained in:
6
extern/CMakeLists.txt
vendored
6
extern/CMakeLists.txt
vendored
@@ -42,7 +42,11 @@ endif()
|
||||
if(WITH_BUILTIN_GLEW)
|
||||
add_subdirectory(glew)
|
||||
endif()
|
||||
add_subdirectory(recastnavigation)
|
||||
|
||||
## TODO MAKE GAME ENGINE ONLY
|
||||
# if(WITH_GAMEENGINE)
|
||||
add_subdirectory(recastnavigation)
|
||||
# endif()
|
||||
|
||||
if(WITH_IMAGE_OPENJPEG AND (NOT UNIX OR APPLE))
|
||||
add_subdirectory(libopenjpeg)
|
||||
|
2
extern/recastnavigation/CMakeLists.txt
vendored
2
extern/recastnavigation/CMakeLists.txt
vendored
@@ -63,4 +63,4 @@ set(SRC
|
||||
Recast/Include/RecastTimer.h
|
||||
)
|
||||
|
||||
blender_add_lib(extern_recastnavigation "${SRC}" "${INC}" "${INC_SYS}")
|
||||
blender_add_lib(extern_recastnavigation "${SRC}" "${INC}" "${INC_SYS}")
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user