[CMake] Find PerlLibs fails;
Georgios Petasis
petasisg at yahoo.gr
Mon Jun 30 11:55:36 EDT 2008
Hi all,
I am running cmake 2.6 under windows:
MESSAGE ( STATUS "Searching for Perl..." )
FIND_PACKAGE ( Perl )
FIND_PACKAGE ( PerlLibs )
IF ( PERL_FOUND )
MESSAGE ( STATUS " PERL_EXECUTABLE: " ${PERL_EXECUTABLE} )
MESSAGE ( STATUS " PERL_INCLUDE_PATH: " ${PERL_INCLUDE_PATH} )
MESSAGE ( STATUS " PERL_LIBRARY: " ${PERL_LIBRARY} )
ENDIF ( PERL_FOUND )
The output is:
-- Searching for Perl...
-- Found Perl: C:/Program Files (x86)/Perl/bin/perl.exe
-- Could NOT find PerlLibs
-- PERL_EXECUTABLE: C:/Program Files (x86)/Perl/bin/perl.exe
-- PERL_INCLUDE_PATH: PERL_INCLUDE_PATH-NOTFOUND
-- PERL_LIBRARY: PERL_LIBRARY-NOTFOUND
It seems that it can locate perl (which is also in the PATH), but not
its libs. Can I fix this?
I am using ActivePerl, 5.10.
Regards,
George
More information about the CMake
mailing list