mirror of
https://github.com/Syping/dtranslatebot.git
synced 2024-11-21 21:30:24 +01:00
DPPStaticBundle: get perl executable with find_program
This commit is contained in:
parent
66a504ac55
commit
9a5f37929a
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,6 @@
|
|||
include(ArgumentPassthrough)
|
||||
|
||||
# OpenSSL needs to be configured with perl and build with make
|
||||
find_package(Perl REQUIRED)
|
||||
find_program(MAKE_EXECUTABLE NAMES make gmake)
|
||||
if (NOT DEFINED MAKE_EXECUTABLE)
|
||||
message(SEND_ERROR "make not found")
|
||||
|
@ -35,6 +34,11 @@ if (DEFINED NPROC_EXECUTABLE)
|
|||
set(MAKE_JOBS_ARG "-j${NPROC}")
|
||||
endif()
|
||||
|
||||
find_program(PERL_EXECUTABLE NAMES perl)
|
||||
if (NOT DEFINED PERL_EXECUTABLE)
|
||||
message(SEND_ERROR "perl not found")
|
||||
endif()
|
||||
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(ZLIB
|
||||
URL https://www.zlib.net/zlib-1.3.1.tar.xz
|
||||
|
|
Loading…
Reference in a new issue