Skip to content

Commit

Permalink
disable OpenCL by default on mac (#7621)
Browse files Browse the repository at this point in the history
dirty fix before headers detection is properly done
  • Loading branch information
3nids committed Aug 15, 2018
1 parent e82cc94 commit a82de83
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Expand Up @@ -29,8 +29,11 @@ MESSAGE(STATUS "QGIS version: ${COMPLETE_VERSION} ${RELEASE_NAME} (${QGIS_VERSIO

#############################################################
# Configure OpenCL if available

OPTION(USE_OPENCL "Use OpenCL" ON)
IF (APPLE)
OPTION(USE_OPENCL "Use OpenCL" OFF)
ELSE (APPLE)
OPTION(USE_OPENCL "Use OpenCL" ON)
ENDIF (APPLE)
IF (USE_OPENCL)
FIND_PACKAGE(OpenCL)
IF(${OpenCL_FOUND})
Expand Down

0 comments on commit a82de83

Please sign in to comment.