CMake: disable OSL if cycles is disabled
This commit is contained in:
parent
30add95104
commit
c691ab1572
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue