Fix cycles windows link errors when building with OSL master branch.
This commit is contained in:
@@ -44,6 +44,7 @@ endif()
|
||||
|
||||
if(WITH_CYCLES_OSL)
|
||||
add_definitions(-DWITH_OSL)
|
||||
add_definitions(-DOSL_STATIC_LIBRARY)
|
||||
include_directories(${OSL_INCLUDES})
|
||||
endif()
|
||||
|
||||
|
@@ -51,6 +51,7 @@ defs.append('WITH_CUDA')
|
||||
|
||||
if env['WITH_BF_CYCLES_OSL']:
|
||||
defs.append('WITH_OSL')
|
||||
defs.append('OSL_STATIC_LIBRARY')
|
||||
incs.append(cycles['BF_OSL_INC'])
|
||||
|
||||
incs.extend('. bvh render device kernel kernel/osl kernel/svm util subd'.split())
|
||||
|
Reference in New Issue
Block a user