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/blender/editors/space_file | |
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/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/CMakeLists.txt | 4 |
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) |