diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-11 04:08:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-11 04:08:07 +0400 |
commit | 3a5f2272adc4ec821db16de95781b9ce653dda73 (patch) | |
tree | 380df231d6a2d88cdaf5e3cda9a758fb6b06a8f1 /source/blender/editors/util/CMakeLists.txt | |
parent | 1e6dbb1a4d320fb34a8f0c85329484153062f8a5 (diff) |
cmake edits to navmesh so includes are not added unless the game engines enabled.
Diffstat (limited to 'source/blender/editors/util/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/util/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/util/CMakeLists.txt b/source/blender/editors/util/CMakeLists.txt index 5e05342f3dc..c64b16c2d08 100644 --- a/source/blender/editors/util/CMakeLists.txt +++ b/source/blender/editors/util/CMakeLists.txt @@ -24,7 +24,6 @@ set(INC ../../blenkernel ../../blenlib ../../blenloader - ../../../../extern/recastnavigation/Recast/Include ../../makesdna ../../makesrna ../../windowmanager @@ -63,7 +62,6 @@ set(SRC ../include/ED_markers.h ../include/ED_mball.h ../include/ED_mesh.h - ../include/ED_navmesh_conversion.h ../include/ED_node.h ../include/ED_numinput.h ../include/ED_object.h @@ -90,8 +88,14 @@ set(SRC ) if(WITH_GAMEENGINE) + list(APPEND INC + ../../../../extern/recastnavigation/Recast/Include + ) + list(APPEND SRC navmesh_conversion.cpp + + ../include/ED_navmesh_conversion.h ) endif() |