summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-01 21:27:08 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-01 22:20:28 (GMT)
commita541c8f5105713dbbdf256f7eb72159ac3829d44 (patch)
tree3c11b1641c3e9409e25a31341d0e4fb9130f62cb /Utilities
parent71294d482d363af0bf2046913f98258397708672 (diff)
downloadCMake-a541c8f5105713dbbdf256f7eb72159ac3829d44.zip
CMake-a541c8f5105713dbbdf256f7eb72159ac3829d44.tar.gz
CMake-a541c8f5105713dbbdf256f7eb72159ac3829d44.tar.bz2
Utilities/Sphinx: Ignore warning in generated texinfo documentation
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Sphinx/CMakeLists.txt1
-rw-r--r--Utilities/Sphinx/CTestCustom.cmake.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt
index 165d557..073e5ff 100644
--- a/Utilities/Sphinx/CMakeLists.txt
+++ b/Utilities/Sphinx/CMakeLists.txt
@@ -9,6 +9,7 @@ if(NOT CMake_SOURCE_DIR)
include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake)
include(${CMake_SOURCE_DIR}/Source/CMakeVersion.cmake)
include(${CMake_SOURCE_DIR}/Source/CMakeInstallDestinations.cmake)
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/CTestCustom.cmake @ONLY)
unset(CMAKE_DATA_DIR)
unset(CMAKE_DATA_DIR CACHE)
macro(CMake_OPTIONAL_COMPONENT)
diff --git a/Utilities/Sphinx/CTestCustom.cmake.in b/Utilities/Sphinx/CTestCustom.cmake.in
new file mode 100644
index 0000000..840121b
--- /dev/null
+++ b/Utilities/Sphinx/CTestCustom.cmake.in
@@ -0,0 +1,3 @@
+list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
+ "cmake.texi:[0-9]+: warning: .definfoenclose is obsolete"
+ )