diff options
Diffstat (limited to 'source/blender/bmesh/CMakeLists.txt')
-rw-r--r-- | source/blender/bmesh/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/bmesh/CMakeLists.txt b/source/blender/bmesh/CMakeLists.txt index b80a10b43fe..afb8b07b1a6 100644 --- a/source/blender/bmesh/CMakeLists.txt +++ b/source/blender/bmesh/CMakeLists.txt @@ -31,7 +31,6 @@ set(INC ../makesdna ../../../intern/guardedalloc ../../../extern/rangetree - ../../../intern/opennl/extern ) set(INC_SYS @@ -160,6 +159,13 @@ if(WITH_INTERNATIONAL) add_definitions(-DWITH_INTERNATIONAL) endif() +if(WITH_OPENNL) + add_definitions(-DWITH_OPENNL) + list(APPEND INC_SYS + ../../../intern/opennl/extern + ) +endif() + if(WITH_FREESTYLE) add_definitions(-DWITH_FREESTYLE) endif() |