Fix error in recent change "run UserDef versioning from readfile.c"

Missed moving the defines in CMake for e255040c77
causing cycles not to be enabled.
This commit is contained in:
Campbell Barton 2020-10-03 21:52:41 +10:00
parent 44397a683c
commit 0bf12cb025
Notes: blender-bot 2023-02-14 06:37:09 +01:00
Referenced by issue #81498, No Cycles render device found / No Cycles render engine
Referenced by issue #81405, Cycles is not enabled by default on recent builds
2 changed files with 3 additions and 4 deletions

View File

@ -96,10 +96,6 @@ if(WITH_HEADLESS)
add_definitions(-DWITH_HEADLESS)
endif()
if(WITH_CYCLES)
add_definitions(-DWITH_CYCLES)
endif()
if(WITH_PYTHON)
add_definitions(-DWITH_PYTHON)
endif()

View File

@ -130,6 +130,9 @@ if(WITH_AUDASPACE)
)
endif()
if(WITH_CYCLES)
add_definitions(-DWITH_CYCLES)
endif()
if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)