summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-03-18 18:21:08 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2020-03-26 13:24:46 (GMT)
commit2ce08e54891054aeba3f273f9970a7fe8fa8b66c (patch)
treedddfaec9accd7f9d5c0d5cfa1a036cd35e162b4f /Tests/RunCMake/CMakeLists.txt
parent863b0fa2aca3ece98d177f2dbafcad56f7037c8a (diff)
downloadCMake-2ce08e54891054aeba3f273f9970a7fe8fa8b66c.zip
CMake-2ce08e54891054aeba3f273f9970a7fe8fa8b66c.tar.gz
CMake-2ce08e54891054aeba3f273f9970a7fe8fa8b66c.tar.bz2
PCH: add an option to disable `-Winvalid-pch`
Fixes: #20295
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 101e10c..2a4af3e 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -665,7 +665,7 @@ endif()
add_RunCMake_test("CTestCommandExpandLists")
-add_RunCMake_test(PrecompileHeaders)
+add_RunCMake_test(PrecompileHeaders -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID})
add_RunCMake_test("UnityBuild")
add_RunCMake_test(cmake_command)