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:
parent
e8d48151d3
commit
5a2b41350b
|
@ -27,3 +27,7 @@ ELSE (NOT PERL_EXECUTABLE)
|
||||||
SET (PERL ${PERL_EXECUTABLE})
|
SET (PERL ${PERL_EXECUTABLE})
|
||||||
ENDIF (NOT 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)
|
||||||
|
|
Loading…
Reference in New Issue