diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-25 07:45:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-25 07:45:49 +0300 |
commit | bb0708a483f5058f228b2b15f4801467ebddde9d (patch) | |
tree | 3cc0c6e2682f7d7ecd7b05328f60ec33e6205125 /source/blender/blenkernel/CMakeLists.txt | |
parent | b2d940250c73e055a2eb82f51ac7d2e352623995 (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.txt | 6 |
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) |