From dc3f264f9d8fd06d90e5b65111a5412f13b58473 Mon Sep 17 00:00:00 2001 From: polarbub Date: Thu, 30 Nov 2023 11:23:16 -0500 Subject: FindPerl: Improve documentation formatting Also modernize some wording. --- Modules/FindPerl.cmake | 17 +++++++++++------ 1 file 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) -- cgit v0.12 From aca215fbe021bdfb1562f8a24bae57d7e62ea998 Mon Sep 17 00:00:00 2001 From: polarbub Date: Thu, 30 Nov 2023 13:32:41 -0500 Subject: FindPerl: Fix documentation word order --- Modules/FindPerl.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/FindPerl.cmake b/Modules/FindPerl.cmake index 0eb7b43..49bc54c 100644 --- a/Modules/FindPerl.cmake +++ b/Modules/FindPerl.cmake @@ -13,12 +13,12 @@ This module defines the following variables: The full path to Perl. ``PERL_FOUND`` - True if the executable was found perl. + True if the Perl executable was found. ``PERL_VERSION_STRING`` .. versionadded:: 2.8.8 - The version of perl found. + The version of Perl found. #]=======================================================================] include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake) -- cgit v0.12