diff options
Diffstat (limited to 'source/blender/blenloader/CMakeLists.txt')
-rw-r--r-- | source/blender/blenloader/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenloader/CMakeLists.txt b/source/blender/blenloader/CMakeLists.txt index e0453e71a05..cf8685ef824 100644 --- a/source/blender/blenloader/CMakeLists.txt +++ b/source/blender/blenloader/CMakeLists.txt @@ -94,6 +94,11 @@ if(WITH_ALEMBIC) add_definitions(-DWITH_ALEMBIC) endif() +# Needed for versioning userdef. +if(WITH_CYCLES) + add_definitions(-DWITH_CYCLES) +endif() + blender_add_lib(bf_blenloader "${SRC}" "${INC}" "${INC_SYS}") # needed so writefile.c can use dna_type_offsets.h |