diff options
author | Daniel Hannon <hello111f@gmail.com> | 2022-10-07 18:00:28 (GMT) |
---|---|---|
committer | Daniel Hannon <hello111f@gmail.com> | 2022-10-07 18:00:28 (GMT) |
commit | 6942234bf5847a9bba7841727f4f35f80af6e630 (patch) | |
tree | ab7d2d8ba6edd5ce846a6ef6a6fdd68d9ba50a54 /Tests | |
parent | 269652a81468637c03bbdc4ef56e0090ccae78bb (diff) | |
download | CMake-6942234bf5847a9bba7841727f4f35f80af6e630.zip CMake-6942234bf5847a9bba7841727f4f35f80af6e630.tar.gz CMake-6942234bf5847a9bba7841727f4f35f80af6e630.tar.bz2 |
VERIFY_INTERFACE_HEADER_SETS: Add IWYU pragma: associated to verification file
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets-check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets-check.cmake b/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets-check.cmake index 100f482..4d5508d 100644 --- a/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets-check.cmake +++ b/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets-check.cmake @@ -9,7 +9,7 @@ function(check_file target filename) if(filename MATCHES "^(.*)(\\.[a-z]+)$") set(header_filename "${CMAKE_MATCH_1}") endif() - set(expected_contents "#include <${header_filename}>\n") + set(expected_contents "#include <${header_filename}> // IWYU pragma: associated\n") file(READ "${full_filename}" actual_contents) if(NOT actual_contents STREQUAL expected_contents) |