On Thursday 27 November 2008, Tron Thomas wrote:
>  Since Perl is not typically included with Windows, I am including the
> Windows version in the source tree.  The relevant CMake code goes something
> like this:
>
>  cmake_minimum_required(VERSION 2.6)
>
>  project(MyProject)
>
>  enable_testing()
>
>  find_package(Perl REQUIRED PATHS ${CMAKE_SOURCE_DIR}/<Path to Perl>)

Try without the "PATHS ${CMAKE_SOURCE_DIR}/<Path to Perl>" arguments, and if 
perl is not found, set the environment variable CMAKE_PREFIX_PATH to the root 
directory of the perl installation (setting the cmake variable 
CMAKE_PREFIX_PATH should also work).
Let me know if this helps.

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

Reply via email to