mirror of https://github.com/getdnsapi/getdns.git
cmake: find libuv pkgconfig non-QUIET
This commit is contained in:
parent
6eb1a6790a
commit
de2137562d
|
@ -29,9 +29,9 @@ This module will set the following variables in your project:
|
||||||
#]=======================================================================]
|
#]=======================================================================]
|
||||||
|
|
||||||
find_package(PkgConfig QUIET)
|
find_package(PkgConfig QUIET)
|
||||||
if(PKG_CONFIG_FOUND)
|
if (PKG_CONFIG_FOUND)
|
||||||
pkg_check_modules(PkgLibuv IMPORTED_TARGET GLOBAL QUIET libuv)
|
pkg_check_modules(PkgLibuv IMPORTED_TARGET GLOBAL libuv)
|
||||||
endif()
|
endif ()
|
||||||
|
|
||||||
if (PkgLibuv_FOUND)
|
if (PkgLibuv_FOUND)
|
||||||
set(LIBUV_INCLUDE_DIR ${PkgLibuv_INCLUDE_DIRS} CACHE FILEPATH "libuv include path")
|
set(LIBUV_INCLUDE_DIR ${PkgLibuv_INCLUDE_DIRS} CACHE FILEPATH "libuv include path")
|
||||||
|
|
Loading…
Reference in New Issue