Skip to content
Permalink
Browse files

[opencl] Error message when OpenCL could not be found

  • Loading branch information
elpaso committed Aug 8, 2018
1 parent add3d07 commit ed7e831ddc42ff05286f5f7edd0b9768d9b3a3ed
Showing with 2 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
@@ -38,6 +38,8 @@ if (USE_OPENCL)
IF(USE_OPENCL)
SET(HAVE_OPENCL TRUE)
ENDIF(USE_OPENCL)
else(${OpenCL_FOUND})
MESSAGE(FATAL_ERROR "Couldn't find OpenCL")
endif(${OpenCL_FOUND})
endif(USE_OPENCL)

0 comments on commit ed7e831

Please sign in to comment.
You can’t perform that action at this time.