Skip to content
Permalink
Browse files
Merge pull request #8077 from elpaso/bugfix-19984-opencl-warning
Fix opencl build warning
  • Loading branch information
elpaso committed Oct 1, 2018
2 parents fc4c579 + 9b0dc1e commit 3f248570a2b3c9460bcc994a74c088aeb0772fe6
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsopenclutils.h
@@ -19,8 +19,12 @@
#define SIP_NO_FILE

#define CL_HPP_ENABLE_EXCEPTIONS
// Set target version to 1.10 because it's the best compromise
// between features and compatibility with "older" graphics
// cards
#define CL_HPP_MINIMUM_OPENCL_VERSION 110
#define CL_HPP_TARGET_OPENCL_VERSION 110
#define CL_TARGET_OPENCL_VERSION 110
#include <CL/cl2.hpp>

#include "qgis_core.h"

0 comments on commit 3f24857

Please sign in to comment.