Skip to content
Permalink
Browse files

disable OpenCL by default on mac

dirty fix before headers detection is properly done
  • Loading branch information
3nids committed Aug 15, 2018
1 parent e82cc94 commit f54a3d13fc51db7248a00ffcb78c5b3766e82496
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 f54a3d1

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