ENH: find perl with FindPerl not find_program, bug: 6243
This commit is contained in:
parent
ad63a47d02
commit
12be7c21d0
|
@ -22,8 +22,9 @@ SET(PERL_POSSIBLE_LIB_PATHS
|
||||||
FIND_PATH(PERL_INCLUDE_PATH perl.h
|
FIND_PATH(PERL_INCLUDE_PATH perl.h
|
||||||
${PERL_POSSIBLE_INCLUDE_PATHS})
|
${PERL_POSSIBLE_INCLUDE_PATHS})
|
||||||
|
|
||||||
|
# find the perl executable
|
||||||
|
INCLUDE(FindPerl)
|
||||||
|
|
||||||
FIND_PROGRAM(PERL_EXECUTABLE perl )
|
|
||||||
|
|
||||||
IF(PERL_EXECUTABLE)
|
IF(PERL_EXECUTABLE)
|
||||||
EXEC_PROGRAM(${PERL_EXECUTABLE}
|
EXEC_PROGRAM(${PERL_EXECUTABLE}
|
||||||
|
|
Loading…
Reference in New Issue