mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
cmake: tidy up more in Find modules
- add `NAMES` where missing. - document input variables (including deprecated ones.) - comment cleanups. - FindWolfSSL: drop stray `QUIET` from `pkg_check_modules()`. (`QUIET` may be re-added for all modules in the future.) Closes #14579
This commit is contained in:
parent
c57d3aeb55
commit
3e60f174ee
17 changed files with 125 additions and 36 deletions
|
|
@ -23,7 +23,14 @@
|
|||
###########################################################################
|
||||
# Find the wolfssl library
|
||||
#
|
||||
# Result Variables:
|
||||
# Input variables:
|
||||
#
|
||||
# WOLFSSL_INCLUDE_DIR The wolfssl include directory
|
||||
# WolfSSL_INCLUDE_DIR The wolfssl include directory (deprecated)
|
||||
# WOLFSSL_LIBRARY Path to wolfssl library
|
||||
# WolfSSL_LIBRARY Path to wolfssl library (deprecated)
|
||||
#
|
||||
# Result variables:
|
||||
#
|
||||
# WOLFSSL_FOUND System has wolfssl
|
||||
# WOLFSSL_INCLUDE_DIRS The wolfssl include directories
|
||||
|
|
@ -41,7 +48,7 @@ endif()
|
|||
|
||||
if(CURL_USE_PKGCONFIG)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_WOLFSSL QUIET "wolfssl")
|
||||
pkg_check_modules(PC_WOLFSSL "wolfssl")
|
||||
endif()
|
||||
|
||||
find_path(WOLFSSL_INCLUDE_DIR NAMES "wolfssl/ssl.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue