mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-27 10:20:20 +00:00
When OpenCL is detected, make sure all the includes / libs are tacked on the build lines
This commit is contained in:
parent
d703ba0205
commit
8e9e832f94
@ -72,6 +72,14 @@ set(PLATFORM_LIBRARIES
|
||||
${GLFW_LIBRARIES}
|
||||
)
|
||||
|
||||
if ( OPENCL_FOUND )
|
||||
list(APPEND PLATFORM_LIBRARIES
|
||||
${OPENCL_LIBRARIES}
|
||||
)
|
||||
include_directories( ${OPENCL_INCLUDE_DIRS} )
|
||||
endif()
|
||||
|
||||
|
||||
add_executable(osd_regression
|
||||
${SOURCE_FILES}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user