summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-27 17:17:31 (GMT)
committerBrad King <brad.king@kitware.com>2023-07-28 13:14:08 (GMT)
commit241ee252ce0fadeacfb1c6349b5838708e3a4e35 (patch)
tree03890bf9072c90543d03a0c92dd70acf651955f5 /.gitlab
parent09db788636d3fccf23b6a670b4630b905eb24f2a (diff)
downloadCMake-241ee252ce0fadeacfb1c6349b5838708e3a4e35.zip
CMake-241ee252ce0fadeacfb1c6349b5838708e3a4e35.tar.gz
CMake-241ee252ce0fadeacfb1c6349b5838708e3a4e35.tar.bz2
IWYU: Update for Debian 12 CI job
`include-what-you-use` diagnostics, in practice, are specific to the environment's compiler and standard library. Update includes to satisfy IWYU for our CI job under Debian 12.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_debian12_iwyu.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_debian12_iwyu.cmake b/.gitlab/ci/configure_debian12_iwyu.cmake
index ff6db60..37ccbf4 100644
--- a/.gitlab/ci/configure_debian12_iwyu.cmake
+++ b/.gitlab/ci/configure_debian12_iwyu.cmake
@@ -1,4 +1,5 @@
set(CMake_RUN_IWYU ON CACHE BOOL "")
+set(CMake_IWYU_OPTIONS "-DCMAKE_IWYU_FORWARD_STD_HASH" CACHE STRING "")
# Uncomment to diagnose IWYU problems as needed.
#set(CMake_IWYU_VERBOSE ON CACHE BOOL "")
set(IWYU_COMMAND "/usr/bin/include-what-you-use-15" CACHE FILEPATH "")