From 416b41da63ec61bddd1e642aac90c88318269749 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Wed, 5 Feb 2020 22:15:26 +0000 Subject: Suppress warnings from OpenCL include folder. Fixes an odd compiler warning with half.hpp when included from ComputeLibrary/include directory. Signed-off-by: Matthew Bentham Change-Id: I17d251bb68384c357ffb93ea8e63333564aba659 --- cmake/GlobalConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake index aa2ebc745d..8e3b68d1b1 100644 --- a/cmake/GlobalConfig.cmake +++ b/cmake/GlobalConfig.cmake @@ -279,7 +279,7 @@ if(ARMCOMPUTECL) link_libraries(-L${ARMCOMPUTE_BUILD_DIR}/opencl-1.2-stubs) set(OPENCL_LIBRARIES OpenCL) - include_directories(${OPENCL_INCLUDE}) + include_directories(SYSTEM ${OPENCL_INCLUDE}) # Add preprocessor definition for ARM Compute OpenCL add_definitions(-DARMCOMPUTECL_ENABLED) -- cgit v1.2.1