CMake: disable OSL if cycles is disabled

This commit is contained in:
Campbell Barton
2015-06-14 09:50:33 +10:00
parent 1e9348efdc
commit 52997272aa

View File

@@ -659,6 +659,8 @@ if(WITH_CYCLES)
if(WITH_CYCLES_OSL)
set(WITH_LLVM ON CACHE BOOL "" FORCE)
endif()
else()
set(WITH_CYCLES_OSL OFF)
endif()
# auto enable openimageio linking dependencies