summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-08 14:30:24 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-08 14:30:24 (GMT)
commit07a05079d366fad306117a99267b71141d3731b2 (patch)
tree5832ffd38610dda4cce4b18f90a0a13c8c164448 /Modules
parentd4f58a9cd8e3709a0cb176814226da324b17e0fe (diff)
downloadCMake-07a05079d366fad306117a99267b71141d3731b2.zip
CMake-07a05079d366fad306117a99267b71141d3731b2.tar.gz
CMake-07a05079d366fad306117a99267b71141d3731b2.tar.bz2
CMakeFindDependencyMacro: Convert documentation to bracket comment
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeFindDependencyMacro.cmake34
1 files changed, 17 insertions, 17 deletions
diff --git a/Modules/CMakeFindDependencyMacro.cmake b/Modules/CMakeFindDependencyMacro.cmake
index 81606ce..0ad4531 100644
--- a/Modules/CMakeFindDependencyMacro.cmake
+++ b/Modules/CMakeFindDependencyMacro.cmake
@@ -1,23 +1,23 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
-#.rst:
-# CMakeFindDependencyMacro
-# -------------------------
-#
-# ::
-#
-# find_dependency(<dep> [...])
-#
-#
-# ``find_dependency()`` wraps a :command:`find_package` call for a package
-# dependency. It is designed to be used in a <package>Config.cmake file, and it
-# forwards the correct parameters for QUIET and REQUIRED which were passed to
-# the original :command:`find_package` call. It also sets an informative
-# diagnostic message if the dependency could not be found.
-#
-# Any additional arguments specified are forwarded to :command:`find_package`.
-#
+#[=======================================================================[.rst:
+CMakeFindDependencyMacro
+-------------------------
+
+::
+
+ find_dependency(<dep> [...])
+
+
+``find_dependency()`` wraps a :command:`find_package` call for a package
+dependency. It is designed to be used in a <package>Config.cmake file, and it
+forwards the correct parameters for QUIET and REQUIRED which were passed to
+the original :command:`find_package` call. It also sets an informative
+diagnostic message if the dependency could not be found.
+
+Any additional arguments specified are forwarded to :command:`find_package`.
+#]=======================================================================]
macro(find_dependency dep)
if (NOT ${dep}_FOUND)