Finds Perl libraries:
find_package(PerlLibs [<version>] [...])
Perl is a general-purpose, interpreted, dynamic programming language.
This module detects whether Perl interpreter is installed via the
FindPerl module and determines the locations of Perl include paths,
libraries, and the library name.
This module defines the following variables:
PerlLibs_FOUNDAdded in version 3.3.
Boolean indicating whether (the requested version of) <perl.h> and
libperl were found.
PerlLibs_VERSIONAdded in version 4.2.
The version of Perl library found.
PERL_SITESEARCHPath to the sitesearch install directory (-V:installsitesearch).
PERL_SITEARCHPath to the sitelib install directory (-V:installsitearch).
PERL_SITELIBPath to the sitelib install directory (-V:installsitelib).
PERL_VENDORARCHPath to the vendor arch install directory (-V:installvendorarch).
PERL_VENDORLIBPath to the vendor lib install directory (-V:installvendorlib).
PERL_ARCHLIBPath to the core arch lib install directory (-V:archlib).
PERL_PRIVLIBPath to the core priv lib install directory (-V:privlib).
PERL_UPDATE_ARCHLIBPath to the update arch lib install directory (-V:installarchlib).
PERL_UPDATE_PRIVLIBPath to the update priv lib install directory (-V:installprivlib).
PERL_EXTRA_C_FLAGSCompilation flags used to build Perl.
The following cache variables may also be set:
PERL_INCLUDE_PATHDirectory containing perl.h and other Perl header files.
PERL_LIBRARYPath to the libperl.
PERL_EXECUTABLEFull path to the perl executable.
The following variables are provided for backward compatibility:
PERLLIBS_FOUNDDeprecated since version 4.2: Use PerlLibs_FOUND, which has the same value.
Boolean indicating whether (the requested version of) <perl.h> and
libperl were found.
Finding Perl libraries and specifying the minimum required version:
find_package(PerlLibs 6.0)
The FindPerl module to find the Perl interpreter.