mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00: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 parent
3745af331a
commit
664eb8412a
1 file changed
+1
-1
@@ -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