diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-10 08:21:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-10 08:21:58 +0400 |
commit | 01dca44a840cb6066adb4845a5e93e0d118f239c (patch) | |
tree | 28c5914124a0c060b0c6e3b10e2fcb0d52625490 /source/blender/editors/util | |
parent | fb4abf2e414064449624d169e8f10708990ea0d9 (diff) |
disable navmesh feature when building without the game engine.
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r-- | source/blender/editors/util/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/util/CMakeLists.txt b/source/blender/editors/util/CMakeLists.txt index da6e1990622..5e05342f3dc 100644 --- a/source/blender/editors/util/CMakeLists.txt +++ b/source/blender/editors/util/CMakeLists.txt @@ -40,7 +40,6 @@ set(SRC editmode_undo.c numinput.c undo.c - navmesh_conversion.cpp crazyspace.c util_intern.h @@ -90,4 +89,10 @@ set(SRC ../include/UI_view2d.h ) +if(WITH_GAMEENGINE) + list(APPEND SRC + navmesh_conversion.cpp + ) +endif() + blender_add_lib(bf_editor_util "${SRC}" "${INC}" "${INC_SYS}") |