Cleanup for OSL linking in cmake: Move cmake OSL library search and path definition from the cycles macro file to the top-level CMakeLists.txt. This makes the OSL_LIBRARIES and other variables accessible throughout Blender cmake scripts and especially in the creator module for linking libraries.
This commit is contained in:
@@ -790,7 +790,6 @@ if(WITH_CYCLES)
|
||||
cycles_kernel
|
||||
cycles_util
|
||||
cycles_subd)
|
||||
|
||||
if(WITH_CYCLES_OSL)
|
||||
list(APPEND BLENDER_LINK_LIBS cycles_kernel_osl)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user