summaryrefslogtreecommitdiffstats
path: root/Modules/FindPerlLibs.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-07-18 03:51:46 (GMT)
committerPhilip Lowman <philip@yhbt.com>2009-07-18 03:51:46 (GMT)
commitdfb2d3537590f7acf89b322ace1b5bddf1413d92 (patch)
tree952b7f9bd362fe7344fa5cfedd9f38cf6889f2d4 /Modules/FindPerlLibs.cmake
parenta94af4df640bca040f8694836a12583e647a3061 (diff)
downloadCMake-dfb2d3537590f7acf89b322ace1b5bddf1413d92.zip
CMake-dfb2d3537590f7acf89b322ace1b5bddf1413d92.tar.gz
CMake-dfb2d3537590f7acf89b322ace1b5bddf1413d92.tar.bz2
ENH: Also add ARCHLIB/CORE to include search paths so perl.h can be found on non-standard install prefixes
Diffstat (limited to 'Modules/FindPerlLibs.cmake')
-rw-r--r--Modules/FindPerlLibs.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPerlLibs.cmake b/Modules/FindPerlLibs.cmake
index cbc074c..4662d57 100644
--- a/Modules/FindPerlLibs.cmake
+++ b/Modules/FindPerlLibs.cmake
@@ -160,6 +160,7 @@ if (PERL_EXECUTABLE)
### PERL_POSSIBLE_INCLUDE_PATHS
set(PERL_POSSIBLE_INCLUDE_PATHS
+ ${PERL_ARCHLIB}/CORE
/usr/lib/perl5/${PERL_VERSION}/${PERL_ARCHNAME}/CORE
/usr/lib/perl/${PERL_VERSION}/${PERL_ARCHNAME}/CORE
/usr/lib/perl5/${PERL_VERSION}/CORE