diff options
author | Brad King <brad.king@kitware.com> | 2019-07-31 15:41:22 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-31 15:41:37 (GMT) |
commit | cb8863279033d9dd81d01edcbb5cc8ae1911b06c (patch) | |
tree | 96c6596a1b93c938214983427bd0a7167a265d78 /Tests/RunCMake/VS10Project/RunCMakeTest.cmake | |
parent | 72c1d564ccb1f1e33ff0c893b0bfc22abbda124e (diff) | |
parent | f9b7c660d700ffa2166b80333bfd89f96fbfb186 (diff) | |
download | CMake-cb8863279033d9dd81d01edcbb5cc8ae1911b06c.zip CMake-cb8863279033d9dd81d01edcbb5cc8ae1911b06c.tar.gz CMake-cb8863279033d9dd81d01edcbb5cc8ae1911b06c.tar.bz2 |
Merge topic 'vs-spectre-off'
f9b7c660d7 VS: Fix mapping of `-Qspectre-` flag
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3629
Diffstat (limited to 'Tests/RunCMake/VS10Project/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/VS10Project/RunCMakeTest.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/RunCMakeTest.cmake b/Tests/RunCMake/VS10Project/RunCMakeTest.cmake index 5b2c7cb..1cb4ce5 100644 --- a/Tests/RunCMake/VS10Project/RunCMakeTest.cmake +++ b/Tests/RunCMake/VS10Project/RunCMakeTest.cmake @@ -28,3 +28,7 @@ run_cmake(VsDpiAwareBadParam) if(CMAKE_C_COMPILER_ID STREQUAL "MSVC" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 19.05) run_cmake(VsJustMyCode) endif() + +if(CMAKE_C_COMPILER_ID STREQUAL "MSVC" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 19.20) + run_cmake(VsSpectreMitigation) +endif() |