polybar-dwm/cmake/modules/FindLibMPDClient.cmake
2020-12-22 00:37:07 +01:00

6 lines
249 B
CMake

find_package_impl("libmpdclient" "LibMPDClient" "mpd/player.h")
if(LibMPDClient_FOUND AND NOT TARGET LibMPDClient::LibMPDClient)
create_imported_target("LibMPDClient::LibMPDClient" "${LibMPDClient_INCLUDE_DIR}" "${LibMPDClient_LIBRARY}")
endif()