Cycles: fix SYCL debug library linking on Windows
This commit is contained in:
parent
b623be3377
commit
25747301db
@ -108,7 +108,11 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(SYCL
|
||||
|
||||
IF(SYCL_FOUND)
|
||||
SET(SYCL_INCLUDE_DIR ${SYCL_INCLUDE_DIR} ${SYCL_INCLUDE_DIR}/sycl)
|
||||
SET(SYCL_LIBRARIES ${SYCL_LIBRARY})
|
||||
IF(WIN32 AND SYCL_LIBRARY_DEBUG)
|
||||
SET(SYCL_LIBRARIES optimized ${SYCL_LIBRARY} debug ${SYCL_LIBRARY_DEBUG})
|
||||
ELSE()
|
||||
SET(SYCL_LIBRARIES ${SYCL_LIBRARY})
|
||||
ENDIF()
|
||||
ELSE()
|
||||
SET(SYCL_SYCL_FOUND FALSE)
|
||||
ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user