Skip to content

Commit 5afd9e2

Browse files
committed
[opencl] Error message when OpenCL could not be found
1 parent a420474 commit 5afd9e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ if (USE_OPENCL)
4343
IF(USE_OPENCL)
4444
SET(HAVE_OPENCL TRUE)
4545
ENDIF(USE_OPENCL)
46+
<<<<<<< a420474ec4f22e581be5ba5c5ca47eae5d7e0447
4647
>>>>>>> OpenCL POC 1
48+
=======
49+
else(${OpenCL_FOUND})
50+
MESSAGE(FATAL_ERROR "Couldn't find OpenCL")
51+
>>>>>>> [opencl] Error message when OpenCL could not be found
4752
endif(${OpenCL_FOUND})
4853
endif(USE_OPENCL)
4954

0 commit comments

Comments
 (0)