mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Fixed compilation warnings in samples:
- use per-module includes instead of "opencv.hpp" - unused function warnings - undefined macro warning
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS // eliminate build warning
|
||||
|
||||
#if __APPLE__
|
||||
#ifdef __APPLE__
|
||||
#include <OpenCL/cl.h>
|
||||
#else
|
||||
#include <CL/cl.h>
|
||||
|
||||
Reference in New Issue
Block a user