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/creator/CMakeLists.txt | |
parent | b2d940250c73e055a2eb82f51ac7d2e352623995 (diff) |
CMake: support building without Python
Resolve linking issues, warnings.
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r-- | source/creator/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 6e2d9acec32..53e84de7652 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -38,18 +38,15 @@ blender_include_dirs( ) set(LIB - bf_blenloader bf_blenkernel - bf_blenlib + bf_blenloader bf_depsgraph bf_dna - bf_editor_datafiles bf_imbuf bf_intern_clog bf_intern_guardedalloc bf_intern_memutil bf_intern_opencolorio - bf_python bf_render bf_rna bf_windowmanager @@ -89,6 +86,9 @@ endif() if(WITH_PYTHON) blender_include_dirs(../blender/python) + list(APPEND LIB + bf_python + ) add_definitions(-DWITH_PYTHON) if(WITH_PYTHON_SECURITY) |