diff options
author | Brad King <brad.king@kitware.com> | 2018-03-08 16:30:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-04-02 14:08:10 (GMT) |
commit | eb80af90936a17863d974f0a4257c9b6da62ec84 (patch) | |
tree | ddd5737390d2475112bed42120dac3b3e7ed23c5 /Tests/OutOfSource | |
parent | e7af91d02684e954596351b02b1dcb3c884b03f2 (diff) | |
download | CMake-eb80af90936a17863d974f0a4257c9b6da62ec84.zip CMake-eb80af90936a17863d974f0a4257c9b6da62ec84.tar.gz CMake-eb80af90936a17863d974f0a4257c9b6da62ec84.tar.bz2 |
Drop Visual Studio 8 2005 generator
This generator has been deprecated since CMake 3.9. Remove it.
Diffstat (limited to 'Tests/OutOfSource')
-rw-r--r-- | Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt b/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt index 10a2f59..76a93d2 100644 --- a/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt +++ b/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt @@ -16,11 +16,11 @@ if ("${PROJECT_SOURCE_DIR}" STREQUAL "${ANOTHER_PROJ_SOURCE_DIR}") # Use a separate variable for computation. set(MAXPATH "${CMAKE_OBJECT_PATH_MAX}") - # VS8 adds "OutOfSource/SubDir/OutOfSourceSubdir/../../../" to the + # VS adds "OutOfSource/SubDir/OutOfSourceSubdir/../../../" to the # path of the source file for no good reason. Reduce the length # limit by 46 characters to account for it. It should still be long # enough to require special object file name conversion. - if(${CMAKE_GENERATOR} MATCHES "Visual Studio (8|10)") + if(${CMAKE_GENERATOR} MATCHES "Visual Studio") math(EXPR MAXPATH "${MAXPATH} - 46") endif() |