From 47adab4f993e66328bd1ad97abaf6697784ee8a0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 14 Apr 2019 15:18:44 +0200 Subject: CMake: prepare for BLENDER_SORTED_LIBS removal No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725. --- source/blender/editors/space_script/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/space_script') diff --git a/source/blender/editors/space_script/CMakeLists.txt b/source/blender/editors/space_script/CMakeLists.txt index 5d950a3558d..19b3e42b37a 100644 --- a/source/blender/editors/space_script/CMakeLists.txt +++ b/source/blender/editors/space_script/CMakeLists.txt @@ -39,6 +39,9 @@ set(SRC script_intern.h ) +set(LIB +) + if(WITH_PYTHON) list(APPEND INC ../../python @@ -48,4 +51,4 @@ endif() add_definitions(${GL_DEFINITIONS}) -blender_add_lib(bf_editor_space_script "${SRC}" "${INC}" "${INC_SYS}") +blender_add_lib(bf_editor_space_script "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") -- cgit v1.2.3