cmake: improve find_package failure messages
This commit is contained in:
parent
a12a4f2a13
commit
1dfcf19c36
4 changed files with 15 additions and 14 deletions
2
externals/find-modules/Findhttplib.cmake
vendored
2
externals/find-modules/Findhttplib.cmake
vendored
|
@ -5,7 +5,7 @@
|
|||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
find_package(httplib QUIET CONFIG)
|
||||
if (httplib_FOUND)
|
||||
if (httplib_CONSIDERED_CONFIGS)
|
||||
find_package_handle_standard_args(httplib CONFIG_MODE)
|
||||
else()
|
||||
find_package(PkgConfig QUIET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue