2 # this module looks for Perl
4 # PERL_EXECUTABLE - the full path to the Perl interpreter
5 # PERL_FOUND - If false, don't attempt to use perl.
9 FIND_PROGRAM(PERL_EXECUTABLE
12 [HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl\\804]/bin
13 [HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl\\628]/bin
14 ${CYGWIN_INSTALL_PATH}/bin
21 IF (NOT PERL_EXECUTABLE)
23 ELSE (NOT PERL_EXECUTABLE)
26 # Deprecated settings for compatibility with CMake1.4
27 SET (PERL ${PERL_EXECUTABLE})
28 ENDIF (NOT PERL_EXECUTABLE)