mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
BUG: honor the REQUIRED flag for Perl, please backport to 2.4 branch so that
it will be in 2.4.4 Alex
This commit is contained in:
@@ -27,3 +27,7 @@ ELSE (NOT PERL_EXECUTABLE)
|
||||
SET (PERL ${PERL_EXECUTABLE})
|
||||
ENDIF (NOT PERL_EXECUTABLE)
|
||||
|
||||
|
||||
IF (NOT PERL_FOUND AND Perl_FIND_REQUIRED)
|
||||
MESSAGE(FATAL_ERROR "Could not find Perl")
|
||||
ENDIF (NOT PERL_FOUND AND Perl_FIND_REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user