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-12-10 15:12:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-10 15:14:56 +0300
commitdaf290dcc80ce5b0904cb92c1696184e8c319ff9 (patch)
tree3c000d4e0d7a07e85c2490b3545834ea974442ce /source/blender/editors/space_file/CMakeLists.txt
parent42a551d2ddbbd7eef8277b368245b0865b0d809b (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/blender/editors/space_file/CMakeLists.txt')
-rw-r--r--source/blender/editors/space_file/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/CMakeLists.txt b/source/blender/editors/space_file/CMakeLists.txt
index 33f57b9c235..84df11ea39c 100644
--- a/source/blender/editors/space_file/CMakeLists.txt
+++ b/source/blender/editors/space_file/CMakeLists.txt
@@ -57,6 +57,10 @@ set(LIB
if(WITH_HEADLESS)
add_definitions(-DWITH_HEADLESS)
+else()
+ list(APPEND LIB
+ bf_editor_datafiles
+ )
endif()
if(WITH_IMAGE_OPENEXR)