summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFortranFunctionExists.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckFortranFunctionExists.cmake')
-rw-r--r--Modules/CheckFortranFunctionExists.cmake20
1 files changed, 10 insertions, 10 deletions
diff --git a/Modules/CheckFortranFunctionExists.cmake b/Modules/CheckFortranFunctionExists.cmake
index f3ced93..fbfa061 100644
--- a/Modules/CheckFortranFunctionExists.cmake
+++ b/Modules/CheckFortranFunctionExists.cmake
@@ -5,24 +5,24 @@
# CheckFortranFunctionExists
# --------------------------
#
-# macro which checks if the Fortran function exists
+# :command:`Macro <macro>` which checks if a Fortran function exists.
#
-# CHECK_FORTRAN_FUNCTION_EXISTS(FUNCTION VARIABLE)
+# .. code-block:: cmake
#
-# ::
-#
-# FUNCTION - the name of the Fortran function
-# VARIABLE - variable to store the result
-# Will be created as an internal cache variable.
+# CHECK_FORTRAN_FUNCTION_EXISTS(<function> <result>)
#
+# where
#
+# ``<function>``
+# the name of the Fortran function
+# ``<result>``
+# variable to store the result; will be created as an internal cache variable.
#
# The following variables may be set before calling this macro to modify
# the way the check is run:
#
-# ::
-#
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# ``CMAKE_REQUIRED_LIBRARIES``
+# list of libraries to link
include_guard(GLOBAL)