Skip to content
Permalink
Browse files

disable OpenCL by default on mac (#7621)

dirty fix before headers detection is properly done
  • Loading branch information
3nids committed Aug 15, 2018
1 parent e82cc94 commit a82de83d6c1603c595a6c3b37d6889c9e78e096d
Showing with 5 additions and 2 deletions.
  1. +5 −2 CMakeLists.txt
@@ -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})

0 comments on commit a82de83

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