summaryrefslogtreecommitdiff
path: root/Modules/CMakeFindDependencyMacro.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-08 10:30:24 -0400
committerBrad King <brad.king@kitware.com>2017-09-08 10:30:24 -0400
commit07a05079d366fad306117a99267b71141d3731b2 (patch)
tree5832ffd38610dda4cce4b18f90a0a13c8c164448 /Modules/CMakeFindDependencyMacro.cmake
parentd4f58a9cd8e3709a0cb176814226da324b17e0fe (diff)
downloadcmake-07a05079d366fad306117a99267b71141d3731b2.tar.gz
CMakeFindDependencyMacro: Convert documentation to bracket comment
Diffstat (limited to 'Modules/CMakeFindDependencyMacro.cmake')
-rw-r--r--Modules/CMakeFindDependencyMacro.cmake34
1 files changed, 17 insertions, 17 deletions
diff --git a/Modules/CMakeFindDependencyMacro.cmake b/Modules/CMakeFindDependencyMacro.cmake
index 81606cef6d..0ad4531508 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)