lean4-htt/src/cmake/Modules/FindLibUV.cmake
Garmelon 6dcd6c8f08
chore: reformat all cmake files (#12218)
The script to run for reformatting is `script/fmt`.
2026-01-28 18:23:08 +00:00

13 lines
440 B
CMake

if(LIBUV_FOUND)
# Already in cache, be silent
set(LIBUV_FIND_QUIETLY TRUE)
endif(LIBUV_FOUND)
find_package(PkgConfig REQUIRED)
pkg_search_module(LIBUV REQUIRED libuv)
message(STATUS "LIBUV_LDFLAGS: " ${LIBUV_LDFLAGS})
message(STATUS "LIBUV_INCLUDE_DIRS: " ${LIBUV_INCLUDE_DIRS})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LibUV DEFAULT_MSG LIBUV_FOUND)
mark_as_advanced(LIBUV_INCLUDE_DIRS LIBUV_LDFLAGS)