2020-12-21 20:47:17 +00:00
|
|
|
# This module defines an imported target `LibMPDClient::LibMPDClient` if libmpdclient is found
|
|
|
|
#
|
|
|
|
# Defines the following Variables (see find_package_impl for more info):
|
|
|
|
# LibMPDClient_FOUND
|
|
|
|
# LibMPDClient_INCLUDE_DIR
|
|
|
|
# LibMPDClient_INCLUDE_DIRS
|
|
|
|
# LibMPDClient_LIBRARY
|
|
|
|
# LibMPDClient_LIBRARIES
|
|
|
|
# LibMPDClient_VERSION
|
2019-06-25 05:21:31 +00:00
|
|
|
find_package_impl("libmpdclient" "LibMPDClient" "mpd/player.h")
|
2019-06-15 15:12:57 +00:00
|
|
|
|
|
|
|
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}")
|
2019-06-15 15:12:57 +00:00
|
|
|
endif()
|