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/render/CMakeLists.txt | |
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/render/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/render/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/render/CMakeLists.txt b/source/blender/editors/render/CMakeLists.txt index 6c62dbcb3a2..7f7748bf52f 100644 --- a/source/blender/editors/render/CMakeLists.txt +++ b/source/blender/editors/render/CMakeLists.txt @@ -55,6 +55,10 @@ set(LIB if(WITH_HEADLESS) add_definitions(-DWITH_HEADLESS) +else() + list(APPEND LIB + bf_editor_datafiles + ) endif() add_definitions(${GL_DEFINITIONS}) |