mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
cmake: Don't use deprecated commands to build
Avoid use of deprecated commands when building CMake itself. Fortunately, the only instance thereof was a use of `subdirs`, which is replaced by `add_subdirectory` since so long ago that the latter is already used everywhere else, so there is no danger of this newly requiring a newer version of CMake to build CMake itself.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
subdirs(Doxygen)
|
||||
add_subdirectory(Doxygen)
|
||||
|
||||
if (CMake_DOC_ARTIFACT_PREFIX)
|
||||
# Undocumented option for CI usage to reuse already
|
||||
|
||||
Reference in New Issue
Block a user