diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-12 12:32:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-12 12:32:54 +0300 |
commit | 8f1027a58b501422e458b24a113d24183a8da2d3 (patch) | |
tree | e2c5999d9a60c2a9d32ddd701ed0d8b547afc810 /source | |
parent | 008ed839f49726ca1f544edcfed02cf95e9fd133 (diff) |
Fix Cycles issue moving versioning to blenloader
Diffstat (limited to 'source')
-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 |