summaryrefslogtreecommitdiffstats
path: root/Tests/VSExternalInclude
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-24 20:12:31 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-25 16:45:44 (GMT)
commitc46b265839c408ba04edc6ae7c96bc257547f43c (patch)
tree30172385edacef220a835c568e73513ff4ccd4a5 /Tests/VSExternalInclude
parentb610b7a35cd62ce180ef3f5be4fabd9336f3fe51 (diff)
downloadCMake-c46b265839c408ba04edc6ae7c96bc257547f43c.zip
CMake-c46b265839c408ba04edc6ae7c96bc257547f43c.tar.gz
CMake-c46b265839c408ba04edc6ae7c96bc257547f43c.tar.bz2
VS: Add Visual Studio 17 2022 generator
Fixes: #22339
Diffstat (limited to 'Tests/VSExternalInclude')
-rw-r--r--Tests/VSExternalInclude/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/VSExternalInclude/CMakeLists.txt b/Tests/VSExternalInclude/CMakeLists.txt
index e38df8e..a3fd8d8 100644
--- a/Tests/VSExternalInclude/CMakeLists.txt
+++ b/Tests/VSExternalInclude/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 2.8.12)
project(VSExternalInclude)
-if(${CMAKE_GENERATOR} MATCHES "Visual Studio 1[012456]")
+if(${CMAKE_GENERATOR} MATCHES "Visual Studio 1[0124567]")
set(PROJECT_EXT vcxproj)
else()
set(PROJECT_EXT vcproj)
@@ -55,7 +55,7 @@ add_dependencies(VSExternalInclude lib2)
# and the sln file can no longer be the only source
# of that depend. So, for VS 10 make the executable
# depend on lib1 and lib2
-if(${CMAKE_GENERATOR} MATCHES "Visual Studio 1[012456]")
+if(${CMAKE_GENERATOR} MATCHES "Visual Studio 1[0124567]")
add_dependencies(VSExternalInclude lib1)
endif()