diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-10 15:12:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-10 15:14:56 +0300 |
commit | daf290dcc80ce5b0904cb92c1696184e8c319ff9 (patch) | |
tree | 3c000d4e0d7a07e85c2490b3545834ea974442ce /source/creator | |
parent | 42a551d2ddbbd7eef8277b368245b0865b0d809b (diff) |
CMake: fix linking Blender as a Python module
Remove direct links to Blender binary,
only link to the window manager and rely on indirect links
for everything else.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 3628c6efda9..01eac349b9c 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -38,17 +38,6 @@ blender_include_dirs( ) set(LIB - bf_blenkernel - bf_blenloader - bf_depsgraph - bf_dna - bf_imbuf - bf_intern_clog - bf_intern_guardedalloc - bf_intern_memutil - bf_intern_opencolorio - bf_render - bf_rna bf_windowmanager ) @@ -69,9 +58,6 @@ if(WITH_CYCLES) blender_include_dirs(../../intern/cycles/blender) add_definitions(-DWITH_CYCLES_LOGGING) endif() - list(APPEND LIB - bf_intern_cycles - ) endif() if(WITH_CODEC_FFMPEG) @@ -86,9 +72,6 @@ endif() if(WITH_PYTHON) blender_include_dirs(../blender/python) - list(APPEND LIB - bf_python - ) add_definitions(-DWITH_PYTHON) if(WITH_PYTHON_SECURITY) @@ -110,17 +93,11 @@ endif() if(WITH_BINRELOC) blender_include_dirs(${BINRELOC_INCLUDE_DIRS}) - list(APPEND LIB - extern_binreloc - ) add_definitions(-DWITH_BINRELOC) endif() if(WITH_FREESTYLE) blender_include_dirs(../blender/freestyle) - list(APPEND LIB - bf_freestyle - ) add_definitions(-DWITH_FREESTYLE) endif() |