summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-04-03 14:11:49 (GMT)
committerBrad King <brad.king@kitware.com>2023-04-05 16:06:22 (GMT)
commit2f3d945f8382fef4139c7d0c3879f6ff2f3756a0 (patch)
treefc31f53ed3169a2b1d0755f190ec945ca48cc896 /Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake
parentf0a67b629192466cec463c41df56ef3244817f70 (diff)
downloadCMake-2f3d945f8382fef4139c7d0c3879f6ff2f3756a0.zip
CMake-2f3d945f8382fef4139c7d0c3879f6ff2f3756a0.tar.gz
CMake-2f3d945f8382fef4139c7d0c3879f6ff2f3756a0.tar.bz2
VS: Add CMAKE_GENERATOR_PLATFORM field to control Windows SDK selection
Add a `version=` field to explicitly control the SDK version selection without relying on `CMAKE_SYSTEM_VERSION`. Fixes: #16713
Diffstat (limited to 'Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake')
-rw-r--r--Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake b/Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake
new file mode 100644
index 0000000..2fc38e5
--- /dev/null
+++ b/Tests/RunCMake/GeneratorPlatform/BadVersionMissing.cmake
@@ -0,0 +1 @@
+message(FATAL_ERROR "This should not be reached!")