cmake: find libuv pkgconfig non-QUIET

This commit is contained in:
Anonymous Maarten 2021-05-28 23:03:41 +02:00
parent 6eb1a6790a
commit de2137562d
1 changed files with 3 additions and 3 deletions

View File

@ -29,9 +29,9 @@ This module will set the following variables in your project:
#]=======================================================================]
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
pkg_check_modules(PkgLibuv IMPORTED_TARGET GLOBAL QUIET libuv)
endif()
if (PKG_CONFIG_FOUND)
pkg_check_modules(PkgLibuv IMPORTED_TARGET GLOBAL libuv)
endif ()
if (PkgLibuv_FOUND)
set(LIBUV_INCLUDE_DIR ${PkgLibuv_INCLUDE_DIRS} CACHE FILEPATH "libuv include path")