aboutsummaryrefslogtreecommitdiff
path: root/cmake/GlobalConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/GlobalConfig.cmake')
-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)