diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-11-11 12:21:12 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-11-11 12:21:12 (GMT) |
commit | e01935ac9d61e22be49f26910a76769585d7a257 (patch) | |
tree | 164e4f3c601c95878625352920bc390790d539d9 /Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake | |
parent | adf863f15e348789e4d20e3d2dd792f35d4f4725 (diff) | |
download | CMake-e01935ac9d61e22be49f26910a76769585d7a257.zip CMake-e01935ac9d61e22be49f26910a76769585d7a257.tar.gz CMake-e01935ac9d61e22be49f26910a76769585d7a257.tar.bz2 |
PCH: No repeated path for internal generated PCH files
Fixes: #19952
Diffstat (limited to 'Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake')
-rw-r--r-- | Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake b/Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake index 8cf0fc9..494bcf7 100644 --- a/Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake +++ b/Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake @@ -1,10 +1,5 @@ -if (NOT RunCMake_GENERATOR_IS_MULTI_CONFIG) - set(foo_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foo.dir/CMakeFiles/foo.dir/cmake_pch.h") - set(foobar_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foobar.dir/CMakeFiles/foobar.dir/cmake_pch.h") -else() - set(foo_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foo.dir/cmake_pch.h") - set(foobar_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foobar.dir/cmake_pch.h") -endif() +set(foo_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foo.dir/cmake_pch.h") +set(foobar_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foobar.dir/cmake_pch.h") if (NOT EXISTS ${foo_pch_header}) set(RunCMake_TEST_FAILED "Generated foo pch header ${foo_pch_header} does not exist") |