mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 20:20:09 +00:00
Fix compilation error with CLEW enabled
For some reason it compiled fine on the desktop but compilation on laptop requires explicit linking against dl library.
This commit is contained in:
parent
46baf7af2f
commit
7b5a25f63d
@ -429,7 +429,7 @@ if(OPENCL_FOUND)
|
||||
-DOPENSUBDIV_HAS_CLEW
|
||||
)
|
||||
set(OPENCL_INCLUDE_DIRS ${CLEW_INCLUDE_DIR})
|
||||
set(OPENCL_LIBRARIES ${CLEW_LIBRARY})
|
||||
set(OPENCL_LIBRARIES ${CLEW_LIBRARY} ${CMAKE_DL_LIBS})
|
||||
else()
|
||||
if (NOT NO_CLEW)
|
||||
message(WARNING
|
||||
|
Loading…
Reference in New Issue
Block a user