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:
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r--source/blender/blenkernel/CMakeLists.txt18
1 files changed, 15 insertions, 3 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt
index a5a4f72523c..4040cc7d4f7 100644
--- a/source/blender/blenkernel/CMakeLists.txt
+++ b/source/blender/blenkernel/CMakeLists.txt
@@ -24,6 +24,11 @@
#
# ***** END GPL LICENSE BLOCK *****
+if(WITH_CODEC_FFMPEG)
+ # FFMPEG gives warnigns which are hard to avoid across multiple versions.
+ remove_strict_flags()
+endif()
+
set(INC
.
../avi
@@ -88,7 +93,6 @@ set(SRC
intern/displist.c
intern/effect.c
intern/editderivedbmesh.c
- intern/exotic.c
intern/fcurve.c
intern/fluidsim.c
intern/fmodifier.c
@@ -143,7 +147,7 @@ set(SRC
intern/writeavi.c
intern/writeffmpeg.c
intern/writeframeserver.c
-
+
BKE_DerivedMesh.h
BKE_action.h
BKE_anim.h
@@ -174,7 +178,6 @@ set(SRC
BKE_displist.h
BKE_effect.h
BKE_endian.h
- BKE_exotic.h
BKE_fcurve.h
BKE_fluidsim.h
BKE_font.h
@@ -238,6 +241,11 @@ if(WITH_BULLET)
add_definitions(-DUSE_BULLET)
endif()
+if(WITH_MOD_CLOTH_ELTOPO)
+ list(APPEND INC ../../../extern/eltopo)
+ add_definitions(-DWITH_ELTOPO)
+endif()
+
if(WITH_IMAGE_OPENEXR)
add_definitions(-DWITH_OPENEXR)
endif()
@@ -280,6 +288,10 @@ endif()
if(WITH_PYTHON)
list(APPEND INC ../python ${PYTHON_INCLUDE_DIRS})
add_definitions(-DWITH_PYTHON)
+
+ if(WITH_PYTHON_SECURITY)
+ add_definitions(-DWITH_PYTHON_SECURITY)
+ endif()
endif()
if(WITH_OPENMP)