mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
FindOpenCL: Add support for CUDA OpenCL on Linux
When setting CUDA_PATH, the include directory ($CUDA_PATH/include) was found, but libOpenCL.so was not found. This patch resloved the issue.
This commit is contained in:
parent
9628f0c001
commit
060fd23313
@ -120,9 +120,12 @@ else()
|
||||
NAMES OpenCL
|
||||
PATHS
|
||||
ENV AMDAPPSDKROOT
|
||||
ENV CUDA_PATH
|
||||
PATH_SUFFIXES
|
||||
lib/x86_64
|
||||
lib/x64)
|
||||
lib/x64
|
||||
lib
|
||||
lib64)
|
||||
endif()
|
||||
|
||||
set(OpenCL_LIBRARIES ${OpenCL_LIBRARY})
|
||||
|
Loading…
Reference in New Issue
Block a user