polybar-dwm/cmake/modules/FindLibInotify.cmake

15 lines
518 B
CMake
Raw Normal View History

2020-12-21 20:47:17 +00:00
# This module defines an imported target `LibInotify::LibInotify` if libinotify is found
#
# Defines the following Variables (see find_package_impl for more info):
# LibInotify_FOUND
# LibInotify_INCLUDE_DIR
# LibInotify_INCLUDE_DIRS
# LibInotify_LIBRARY
# LibInotify_LIBRARIES
# LibInotify_VERSION
2019-06-25 05:21:31 +00:00
find_package_impl("libinotify" "LibInotify" "")
2019-06-25 05:21:31 +00:00
if(LibInotify_FOUND AND NOT TARGET LibInotify::LibInotify)
create_imported_target("LibInotify::LibInotify" "${LibInotify_INCLUDE_DIR}" "${LibInotify_LIBRARY}")
endif()