mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 17:11:04 +00:00
25 lines
441 B
CMake
25 lines
441 B
CMake
#
|
|
# this module looks for Perl
|
|
#
|
|
|
|
INCLUDE(${CMAKE_ROOT}/Modules/FindCygwin.cmake)
|
|
|
|
IF (CYGWIN_INSTALL_PATH)
|
|
|
|
FIND_PROGRAM(PERL
|
|
perl
|
|
"C:/Perl/bin"
|
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl\\628]/bin
|
|
${CYGWIN_INSTALL_PATH}/bin
|
|
)
|
|
|
|
ELSE (CYGWIN_INSTALL_PATH)
|
|
|
|
FIND_PROGRAM(PERL
|
|
perl
|
|
"C:/Perl/bin"
|
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActivePerl\\628]/bin
|
|
)
|
|
|
|
ENDIF (CYGWIN_INSTALL_PATH)
|