Fix consistency in use of Perl. (#387)

FindPerl.cmake populates PERL_EXECUTABLE.
Corresponding fix also required in ls-qpack.
This commit is contained in:
Ryan A. Pavlik 2022-06-20 13:59:58 -05:00 committed by GitHub
parent 0a4f8953dc
commit c7e856a2b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ ENDIF()
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lsquic_versions_to_string.c
COMMAND ${PERL}
COMMAND ${PERL_EXECUTABLE}
ARGS ${CMAKE_CURRENT_SOURCE_DIR}/gen-verstrs.pl ${CMAKE_CURRENT_SOURCE_DIR}/../../include/lsquic.h ${CMAKE_CURRENT_BINARY_DIR}/lsquic_versions_to_string.c
DEPENDS ./gen-verstrs.pl ${CMAKE_CURRENT_SOURCE_DIR}/../../include/lsquic.h
)