Skip to content

Commit

Permalink
[opencl] Error message when OpenCL could not be found
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 8, 2018
1 parent add3d07 commit ed7e831
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit ed7e831

Please sign in to comment.