From 9dc2f1fed5f307e95b7851a381e1d3ee86cdc2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 26 Jul 2024 13:49:17 +0200 Subject: [PATCH] Anim: add missing WITH_ANIM_BAKLAVA clauses in some CMakeLists.txt files Some code was accidentally always disabled, even when building with experimental features. Pull Request: https://projects.blender.org/blender/blender/pulls/125482 --- source/blender/animrig/CMakeLists.txt | 3 +++ source/blender/editors/interface/CMakeLists.txt | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/source/blender/animrig/CMakeLists.txt b/source/blender/animrig/CMakeLists.txt index 5dfd9c0222b..beeb22874ec 100644 --- a/source/blender/animrig/CMakeLists.txt +++ b/source/blender/animrig/CMakeLists.txt @@ -64,6 +64,9 @@ set(LIB PRIVATE bf::intern::clog ) +if(WITH_EXPERIMENTAL_FEATURES) + add_definitions(-DWITH_ANIM_BAKLAVA) +endif() blender_add_lib(bf_animrig "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") add_library(bf::animrig ALIAS bf_animrig) diff --git a/source/blender/editors/interface/CMakeLists.txt b/source/blender/editors/interface/CMakeLists.txt index 17213281c1b..a65a7017cce 100644 --- a/source/blender/editors/interface/CMakeLists.txt +++ b/source/blender/editors/interface/CMakeLists.txt @@ -126,6 +126,10 @@ if(WITH_INPUT_IME) add_definitions(-DWITH_INPUT_IME) endif() +if(WITH_EXPERIMENTAL_FEATURES) + add_definitions(-DWITH_ANIM_BAKLAVA) +endif() + blender_add_lib(bf_editor_interface "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") # RNA_prototypes.hh