summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpolarbub <bryn.hakl@gmail.com>2023-11-30 16:23:16 (GMT)
committerBrad King <brad.king@kitware.com>2023-11-30 16:42:18 (GMT)
commitdc3f264f9d8fd06d90e5b65111a5412f13b58473 (patch)
tree329eef030b6e05eb14ac896c59bc8bbeede7347c
parent8d6dcaa4b0e22abd152a58b413cbe3fdd9306cc3 (diff)
downloadCMake-dc3f264f9d8fd06d90e5b65111a5412f13b58473.zip
CMake-dc3f264f9d8fd06d90e5b65111a5412f13b58473.tar.gz
CMake-dc3f264f9d8fd06d90e5b65111a5412f13b58473.tar.bz2
FindPerl: Improve documentation formatting
Also modernize some wording.
-rw-r--r--Modules/FindPerl.cmake17
1 files changed, 11 insertions, 6 deletions
diff --git a/Modules/FindPerl.cmake b/Modules/FindPerl.cmake
index 26962df..0eb7b43 100644
--- a/Modules/FindPerl.cmake
+++ b/Modules/FindPerl.cmake
@@ -5,15 +5,20 @@
FindPerl
--------
-Find perl
+Find a Perl interpreter.
-this module looks for Perl
+This module defines the following variables:
-::
+``PERL_EXECUTABLE``
+ The full path to Perl.
- PERL_EXECUTABLE - the full path to perl
- PERL_FOUND - If false, don't attempt to use perl.
- PERL_VERSION_STRING - version of perl found (since CMake 2.8.8)
+``PERL_FOUND``
+ True if the executable was found perl.
+
+``PERL_VERSION_STRING``
+ .. versionadded:: 2.8.8
+
+ The version of perl found.
#]=======================================================================]
include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake)