summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-22 15:18:49 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-22 15:22:08 (GMT)
commita4d532e9987747b08ba46656257863885ee5fd94 (patch)
tree089a1cbacd5b27eca2decbdcec9dee4cb8778efa /Source/cmGlobalVisualStudioGenerator.h
parent0cd5300665fdbb68c32e318e5ca423854716c7a7 (diff)
downloadCMake-a4d532e9987747b08ba46656257863885ee5fd94.zip
CMake-a4d532e9987747b08ba46656257863885ee5fd94.tar.gz
CMake-a4d532e9987747b08ba46656257863885ee5fd94.tar.bz2
VS: Restore Windows SDK selection with platform in generator name
Refactoring in commit e259063b0a (VS: Defer Windows SDK selection until CMAKE_GENERATOR_PLATFORM is known, 2023-03-31, v3.27.0-rc1~206^2~5) accidentally dropped the Windows SDK selection code path for VS generators named with the old-style platform suffix. Fixes: #25007
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h
index 3e20ada..52db98d 100644
--- a/Source/cmGlobalVisualStudioGenerator.h
+++ b/Source/cmGlobalVisualStudioGenerator.h
@@ -164,6 +164,8 @@ protected:
cmGlobalVisualStudioGenerator(cmake* cm,
std::string const& platformInGeneratorName);
+ virtual bool InitializePlatform(cmMakefile* mf);
+
void AddExtraIDETargets() override;
// Does this VS version link targets to each other if there are