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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user