mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
This is an old module from when VTK and other Kitware projects drove the addition of commands and modules into CMake itself. Modern VTK doesn't need this module and it can be ignored. This module is kept around so that the ancient VTK versions which use it are not broken by it. VTK itself stopped using the module in 2012 and the last usage by an example in VTK was removed in 2020. Fixes: #20591
11 lines
373 B
CMake
11 lines
373 B
CMake
include(Documentation OPTIONAL RESULT_VARIABLE found)
|
|
if (NOT should_find AND found)
|
|
message(FATAL_ERROR
|
|
"The Documentation module should not have been found, but it was.")
|
|
endif ()
|
|
if (should_find AND NOT found)
|
|
message(FATAL_ERROR
|
|
"The Documentation module should have been found, but it was not.")
|
|
endif ()
|
|
include(${CMAKE_ROOT}/Modules/Documentation.cmake)
|