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>2019-11-25 07:45:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-25 07:45:49 +0300
commitbb0708a483f5058f228b2b15f4801467ebddde9d (patch)
tree3cc0c6e2682f7d7ecd7b05328f60ec33e6205125 /source/blender/blenkernel/CMakeLists.txt
parentb2d940250c73e055a2eb82f51ac7d2e352623995 (diff)
CMake: support building without Python
Resolve linking issues, warnings.
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r--source/blender/blenkernel/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt
index 3bbb133c72f..883518b7a9d 100644
--- a/source/blender/blenkernel/CMakeLists.txt
+++ b/source/blender/blenkernel/CMakeLists.txt
@@ -396,8 +396,6 @@ set(LIB
bf_modifiers
bf_nodes
bf_physics
- bf_python
- bf_python_bmesh
bf_rna
bf_shader_fx
)
@@ -503,6 +501,10 @@ if(WITH_PYTHON)
list(APPEND INC
../python
)
+ list(APPEND LIB
+ bf_python
+ bf_python_bmesh
+ )
add_definitions(-DWITH_PYTHON)
if(WITH_PYTHON_SAFETY)