From daf290dcc80ce5b0904cb92c1696184e8c319ff9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 10 Dec 2019 23:12:47 +1100 Subject: 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. --- source/blender/editors/space_file/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/space_file') 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) -- cgit v1.2.3