Fix clang-tidy warnings for OCL
[alexxy/gromacs.git] / src / gromacs / CMakeLists.txt
index c2d2bb23b038c272c3e191e2e566187a6f52857c..7f9093399ba8fd3afac773cd2bb3315f7cf80ea2 100644 (file)
@@ -223,7 +223,7 @@ if (GMX_USE_OPENCL)
         target_sources(libgromacs PRIVATE
             $<TARGET_OBJECTS:clFFT>
         )
-        target_include_directories(libgromacs PRIVATE ${_clFFT_dir}/include)
+        target_include_directories(libgromacs SYSTEM PRIVATE ${_clFFT_dir}/include)
         # Use the magic variable for how to link any library needed for
         # dlopen, etc.  which is -ldl where needed, and empty otherwise
         # (e.g. Windows, BSD, Mac).