Navigation Menu

Skip to content

Commit

Permalink
Fix opencl build warning
Browse files Browse the repository at this point in the history
Fixes #19984
  • Loading branch information
elpaso committed Oct 1, 2018
1 parent 5508ea0 commit 9244d3f
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
// Targeting version 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 9244d3f

Please sign in to comment.