summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-11-11 12:21:12 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2019-11-11 12:21:12 (GMT)
commite01935ac9d61e22be49f26910a76769585d7a257 (patch)
tree164e4f3c601c95878625352920bc390790d539d9 /Tests/RunCMake/PrecompileHeaders/DisabledPch-check.cmake
parentadf863f15e348789e4d20e3d2dd792f35d4f4725 (diff)
downloadCMake-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.cmake9
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")