Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-11-25 08:33:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-25 08:36:19 +0400
commit2b4c68b902b261127f7deabf922048c41be6fb55 (patch)
tree1c40311a6c8e13ea4754fc692283b11cafdb8bea /source/blender/editors/uvedit/CMakeLists.txt
parent295116ea6b3a81a6c7b84d8a9d21288108c5f19e (diff)
CMake Build: option to compile without opennl/superlu.
Diffstat (limited to 'source/blender/editors/uvedit/CMakeLists.txt')
-rw-r--r--source/blender/editors/uvedit/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/CMakeLists.txt b/source/blender/editors/uvedit/CMakeLists.txt
index 62d4b01cab7..45edbde7482 100644
--- a/source/blender/editors/uvedit/CMakeLists.txt
+++ b/source/blender/editors/uvedit/CMakeLists.txt
@@ -28,7 +28,6 @@ set(INC
../../makesrna
../../windowmanager
../../../../intern/guardedalloc
- ../../../../intern/opennl/extern
)
set(INC_SYS
@@ -51,4 +50,11 @@ if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()
+if(WITH_OPENNL)
+ add_definitions(-DWITH_OPENNL)
+ list(APPEND INC_SYS
+ ../../../../intern/opennl/extern
+ )
+endif()
+
blender_add_lib(bf_editor_uvedit "${SRC}" "${INC}" "${INC_SYS}")