aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Bentham <matthew.bentham@arm.com>2020-02-05 22:15:26 +0000
committerJim Flynn <jim.flynn@arm.com>2020-02-10 12:35:24 +0000
commit416b41da63ec61bddd1e642aac90c88318269749 (patch)
treec1fbdc693a80de5de5c4656647f6b56824fb3186
parenta3fb2b964a2c92fda969f16d6b99468daba2b9a7 (diff)
downloadarmnn-416b41da63ec61bddd1e642aac90c88318269749.tar.gz
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 <matthew.bentham@arm.com> Change-Id: I17d251bb68384c357ffb93ea8e63333564aba659
-rw-r--r--cmake/GlobalConfig.cmake2
1 files changed, 1 insertions, 1 deletions
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)