Skip to content

Commit

Permalink
Fix build warning again (on debian opencl headers do not support 2.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 30, 2018
1 parent a471934 commit 13eca56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsopenclutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
#define SIP_NO_FILE

#define CL_HPP_ENABLE_EXCEPTIONS
//#define CL_HPP_MINIMUM_OPENCL_VERSION 110
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_HPP_TARGET_OPENCL_VERSION 220
#define CL_TARGET_OPENCL_VERSION 220
#define CL_TARGET_OPENCL_VERSION 200
#include <CL/cl2.hpp>

#include "qgis_core.h"
Expand Down

0 comments on commit 13eca56

Please sign in to comment.