Skip to content

Commit

Permalink
Merge pull request #8077 from elpaso/bugfix-19984-opencl-warning
Browse files Browse the repository at this point in the history
Fix opencl build warning
  • Loading branch information
elpaso committed Oct 1, 2018
2 parents fc4c579 + 9b0dc1e commit 3f24857
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsopenclutils.h
Expand Up @@ -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"
Expand Down

0 comments on commit 3f24857

Please sign in to comment.