mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:01:41 +03:00
cmake: replace deprecated PERL_FOUND with Perl_FOUND
`Perl_FOUND` available since CMake v3.3. `PERL_FOUND` deprecated since v4.2. Ref: https://cmake.org/cmake/help/v4.2/module/FindPerl.html Closes #20011
This commit is contained in:
parent
cd046f6c93
commit
14d5b6c7a7
3 changed files with 7 additions and 7 deletions
|
|
@ -27,7 +27,7 @@ option(CURL_COMPLETION_ZSH "Install zsh completions" OFF)
|
|||
|
||||
if(CURL_COMPLETION_FISH OR
|
||||
CURL_COMPLETION_ZSH)
|
||||
if(PERL_FOUND)
|
||||
if(Perl_FOUND)
|
||||
if(CURL_COMPLETION_FISH)
|
||||
set(_completion_fish "${CMAKE_CURRENT_BINARY_DIR}/curl.fish")
|
||||
add_custom_command(OUTPUT "${_completion_fish}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue