polybar/cmake/modules/FindLibUV.cmake

14 lines
306 B
CMake
Raw Normal View History

# This module defines
2021-02-17 19:43:35 +00:00
# LibUV_FOUND
# LibUV_INCLUDE_DIR
# LibUV_INCLUDE_DIRS
# LibUV_LIBRARY
# LibUV_LIBRARIES
# LibUV_VERSION
2021-02-17 19:43:35 +00:00
find_package_impl("libuv" "LibUV" "uv.h")
2021-02-17 19:43:35 +00:00
if(LibUV_FOUND AND NOT TARGET LibUV::LibUV)
create_imported_target("LibUV::LibUV" "${LibUV_INCLUDE_DIR}" "${LibUV_LIBRARY}")
endif()