mirror of
https://github.com/curl/curl.git
synced 2026-07-16 12:57:16 +03:00
cmake: fix fish install directory detection via pkg-config
Follow-up to c8b0f0c9ad #16833
Closes #17147
This commit is contained in:
parent
b993f2871b
commit
73b6f8d2fe
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ if(CURL_COMPLETION_FISH OR
|
|||
if(NOT CURL_COMPLETION_FISH_DIR)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_get_variable(CURL_COMPLETION_FISH_DIR "fish" "completionsdir")
|
||||
if(NOT _pkg_fish_completionsdir)
|
||||
if(NOT CURL_COMPLETION_FISH_DIR)
|
||||
if(CMAKE_INSTALL_DATAROOTDIR)
|
||||
set(CURL_COMPLETION_FISH_DIR "${CMAKE_INSTALL_DATAROOTDIR}/fish/vendor_completions.d")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue