Browse Source

fix for building OpenCL on some linux distributions

cl-refactor
debris 10 years ago
parent
commit
100066a664
  1. 2
      cmake/FindOpenCL.cmake

2
cmake/FindOpenCL.cmake

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

Loading…
Cancel
Save