Fix: Error when building without experimental features

The `rna_grease_pencil.cc` file should now always be in `DEFSRC`
even if `WITH_EXPERIMENTAL_FEATURES` is not set.
This commit is contained in:
Falk David
2024-06-25 16:02:36 +02:00
parent b855cd7bb0
commit 451212a4fb

View File

@@ -48,6 +48,7 @@ set(DEFSRC
rna_fluid.cc
rna_gpencil_legacy.cc
rna_gpencil_legacy_modifier.cc
rna_grease_pencil.cc
rna_image.cc
rna_key.cc
rna_lattice.cc
@@ -110,9 +111,6 @@ endif()
if(WITH_EXPERIMENTAL_FEATURES)
add_definitions(-DWITH_SIMULATION_DATABLOCK)
add_definitions(-DWITH_ANIM_BAKLAVA)
list(APPEND DEFSRC
rna_grease_pencil.cc
)
endif()
set(APISRC