diff options
author | Brad King <brad.king@kitware.com> | 2023-08-08 20:03:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-08-10 13:34:50 (GMT) |
commit | 15ff89654b925b74f074ef7e13ed905c3ec38c4b (patch) | |
tree | 948aea4dc32ba8c5294590c39e0ad81a498b2f99 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | bba1a23da9d64c4ef8d68d22af7b5c93727b66a7 (diff) | |
download | CMake-15ff89654b925b74f074ef7e13ed905c3ec38c4b.zip CMake-15ff89654b925b74f074ef7e13ed905c3ec38c4b.tar.gz CMake-15ff89654b925b74f074ef7e13ed905c3ec38c4b.tar.bz2 |
VS: Teach CMAKE_GENERATOR_PLATFORM to use Windows 10 SDKs for older versions
Honor an explicit `version=` field selecting a Windows 10 SDK regardless
of the Windows target version.
Issue: #25170
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 321f377..35227db 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -544,7 +544,7 @@ bool cmGlobalVisualStudio10Generator::InitializePlatformWindows(cmMakefile*) } bool cmGlobalVisualStudio10Generator::VerifyNoGeneratorPlatformVersion( - cmMakefile*, cm::optional<std::string>) const + cmMakefile*) const { return true; } |