polybar-dwm/cmake/modules/FindLibMPDClient.cmake

6 lines
249 B
CMake
Raw Normal View History

2019-06-25 05:21:31 +00:00
find_package_impl("libmpdclient" "LibMPDClient" "mpd/player.h")
if(LibMPDClient_FOUND AND NOT TARGET LibMPDClient::LibMPDClient)
2019-06-25 05:21:31 +00:00
create_imported_target("LibMPDClient::LibMPDClient" "${LibMPDClient_INCLUDE_DIR}" "${LibMPDClient_LIBRARY}")
endif()