diff options
author | Brad King <brad.king@kitware.com> | 2019-12-16 15:03:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-12-16 15:04:03 (GMT) |
commit | dfbe8109b4b6b495b2dc11fcc4687a282645382d (patch) | |
tree | b71c82c457e90c0ba80b4f014c6d82197c322fe1 /Tests | |
parent | e3059f7bb48cf7435af26033868ada5030e18615 (diff) | |
parent | c5c218fa0d00c0aa06bf51fafadd8e71f2c549fb (diff) | |
download | CMake-dfbe8109b4b6b495b2dc11fcc4687a282645382d.zip CMake-dfbe8109b4b6b495b2dc11fcc4687a282645382d.tar.gz CMake-dfbe8109b4b6b495b2dc11fcc4687a282645382d.tar.bz2 |
Merge topic 'pch-force-include' into release-3.16
c5c218fa0d PCH: Append pch header file to list of forced include files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4135
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/VS10Project/VsPrecompileHeaders-check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/VS10Project/VsPrecompileHeaders-check.cmake b/Tests/RunCMake/VS10Project/VsPrecompileHeaders-check.cmake index 27842f9..91cea0e 100644 --- a/Tests/RunCMake/VS10Project/VsPrecompileHeaders-check.cmake +++ b/Tests/RunCMake/VS10Project/VsPrecompileHeaders-check.cmake @@ -31,7 +31,7 @@ foreach(line IN LISTS tgt_projects_strings) set(have_pch_header ON) endif() - if (line MATCHES "<ForcedIncludeFiles.*>.*${pch_header}</ForcedIncludeFiles>") + if (line MATCHES "<ForcedIncludeFiles.*>.*${pch_header}.*</ForcedIncludeFiles>") set(have_force_pch_header ON) endif() |