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?


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to