summaryrefslogtreecommitdiff
path: root/Modules/CTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-08 11:30:02 -0500
committerBrad King <brad.king@kitware.com>2018-04-02 10:08:10 -0400
commiteb80af90936a17863d974f0a4257c9b6da62ec84 (patch)
treeddd5737390d2475112bed42120dac3b3e7ed23c5 /Modules/CTest.cmake
parente7af91d02684e954596351b02b1dcb3c884b03f2 (diff)
downloadcmake-eb80af90936a17863d974f0a4257c9b6da62ec84.tar.gz
Drop Visual Studio 8 2005 generator
This generator has been deprecated since CMake 3.9. Remove it.
Diffstat (limited to 'Modules/CTest.cmake')
-rw-r--r--Modules/CTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake
index a08282e757..2ea931d4a3 100644
--- a/Modules/CTest.cmake
+++ b/Modules/CTest.cmake
@@ -54,7 +54,7 @@ in the ``CTestConfig.cmake`` file.
option(BUILD_TESTING "Build the testing tree." ON)
# function to turn generator name into a version string
-# like vs8 vs9
+# like vs9 or vs10
function(GET_VS_VERSION_STRING generator var)
string(REGEX REPLACE "Visual Studio ([0-9][0-9]?)($|.*)" "\\1"
NUMBER "${generator}")