polybar-dwm/cmake/modules/FindLibUV.cmake
2021-09-21 20:36:23 +02:00

14 lines
302 B
CMake

# This module defines
# LIBUV_FOUND
# LIBUV_INCLUDE_DIR
# LIBUV_INCLUDE_DIRS
# LIBUV_LIBRARY
# LIBUV_LIBRARIES
# LIBUV_VERSION
find_package_impl("libuv" "LIBUV" "")
if(LIBUV_FOUND AND NOT TARGET LibUV::LibUV)
create_imported_target("LibUV::LibUV" "${LIBUV_INCLUDE_DIR}" "${LIBUV_LIBRARY}")
endif()