1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00
polybar/cmake/modules/FindLibUV.cmake

14 lines
306 B
CMake
Raw Normal View History

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