From 5498e7f193e2399b8693ef17803f864103307b4b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Apr 2019 06:18:52 +0200 Subject: CMake: add library deps to CMakeLists.txt Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684 --- source/creator/CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'source/creator/CMakeLists.txt') diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 5111e2b5491..83e1c9557a0 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -38,6 +38,22 @@ blender_include_dirs( ) set(LIB + bf_blenfont + bf_blenkernel + bf_blenlib + bf_blenloader + bf_depsgraph + bf_dna + bf_editor_datafiles + bf_imbuf + bf_intern_clog + bf_intern_guardedalloc + bf_intern_memutil + bf_intern_opencolorio + bf_python + bf_render + bf_rna + bf_windowmanager ) add_definitions(${GL_DEFINITIONS}) @@ -57,6 +73,9 @@ 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,11 +105,17 @@ 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() -- cgit v1.2.3