Skip to content

Commit 966c3db

Browse files
committedAug 8, 2018
[opencl] Uppercase CMake
1 parent c42a748 commit 966c3db

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed
 

‎CMakeLists.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,19 @@ MESSAGE(STATUS "QGIS version: ${COMPLETE_VERSION} ${RELEASE_NAME} (${QGIS_VERSIO
3030
#############################################################
3131
# Configure OpenCL if available
3232

33-
option(USE_OPENCL "Use OpenCL" ON)
34-
if (USE_OPENCL)
33+
OPTION(USE_OPENCL "Use OpenCL" ON)
34+
IF (USE_OPENCL)
3535
FIND_PACKAGE(OpenCL)
36+
<<<<<<< c42a748afc413e235254d2a94dc8af75d2109822
3637
if(${OpenCL_FOUND})
3738
<<<<<<< a1a09d75e627b0f085c5a1177db5d58374ca6f44
39+
=======
40+
IF(${OpenCL_FOUND})
41+
>>>>>>> [opencl] Uppercase CMake
3842
SET(HAVE_OPENCL TRUE)
39-
else(${OpenCL_FOUND})
43+
ELSE(${OpenCL_FOUND})
4044
MESSAGE(STATUS "Couldn't find OpenCL: support DISABLED")
45+
<<<<<<< c42a748afc413e235254d2a94dc8af75d2109822
4146
=======
4247
SET (USE_OPENCL TRUE CACHE BOOL "Use OpenCL")
4348
IF(USE_OPENCL)
@@ -51,6 +56,10 @@ if (USE_OPENCL)
5156
>>>>>>> [opencl] Error message when OpenCL could not be found
5257
endif(${OpenCL_FOUND})
5358
endif(USE_OPENCL)
59+
=======
60+
ENDIF(${OpenCL_FOUND})
61+
ENDIF(USE_OPENCL)
62+
>>>>>>> [opencl] Uppercase CMake
5463

5564
# Configure CCache if available
5665
IF(NOT MSVC)

0 commit comments

Comments
 (0)
Please sign in to comment.