Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-12 12:32:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-12 12:32:54 +0300
commit8f1027a58b501422e458b24a113d24183a8da2d3 (patch)
treee2c5999d9a60c2a9d32ddd701ed0d8b547afc810 /source/blender/blenloader/CMakeLists.txt
parent008ed839f49726ca1f544edcfed02cf95e9fd133 (diff)
Fix Cycles issue moving versioning to blenloader
Diffstat (limited to 'source/blender/blenloader/CMakeLists.txt')
-rw-r--r--source/blender/blenloader/CMakeLists.txt5
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