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