Browse Source

Merge pull request #1887 from debris/libOpenCL

fix for building OpenCL on some linux distributions
cl-refactor
Gav Wood 10 years ago
parent
commit
2548daa45d
  1. 2
      cmake/FindOpenCL.cmake

2
cmake/FindOpenCL.cmake

@ -118,7 +118,7 @@ if(WIN32)
endif() endif()
else() else()
find_library(OpenCL_LIBRARY find_library(OpenCL_LIBRARY
NAMES OpenCL) NAMES OpenCL libOpenCL.so.1)
endif() endif()
set(OpenCL_LIBRARIES ${OpenCL_LIBRARY}) set(OpenCL_LIBRARIES ${OpenCL_LIBRARY})

Loading…
Cancel
Save