[CMake] Can't configure Perl on Windows

Tron Thomas tron.thomas at verizon.net
Thu Nov 27 11:50:05 EST 2008


I am trying to configure a CMake project which requires Perl for 
building on Windows.  I have added the find_package command specifying 
that Perl is required and providing the path for where the Perl binaries 
are located.  Despite this, I get output like the following when trying 
to configure using CMake:

CMake Error at CMakeLists.txt:19 (find_package):

 Could not find a configuration file for package Perl.

 Set Perl_DIR to the directory containing a CMake configuration file for
 Perl.  The file will have one of the following names:
   PerlConfig.cmake
   perl-config.cmake


What can be done to resolve this problem so that Perl will work properly 
on Windows with CMake?




More information about the CMake mailing list