2020-12-21 20:47:17 +00:00
|
|
|
# This module defines an imported target `LibPulse::LibPulse` if libpulse is found
|
|
|
|
#
|
|
|
|
# Defines the following Variables (see find_package_impl for more info):
|
|
|
|
# LibPulse_FOUND
|
|
|
|
# LibPulse_INCLUDE_DIR
|
|
|
|
# LibPulse_INCLUDE_DIRS
|
|
|
|
# LibPulse_LIBRARY
|
|
|
|
# LibPulse_LIBRARIES
|
|
|
|
# LibPulse_VERSION
|
2019-06-25 05:21:31 +00:00
|
|
|
find_package_impl("libpulse" "LibPulse" "pulse/version.h")
|
2019-06-15 15:12:57 +00:00
|
|
|
|
|
|
|
if(LibPulse_FOUND AND NOT TARGET LibPulse::LibPulse)
|
2019-06-25 05:21:31 +00:00
|
|
|
create_imported_target("LibPulse::LibPulse" "${LibPulse_INCLUDE_DIR}" "${LibPulse_LIBRARY}")
|
2019-06-15 15:12:57 +00:00
|
|
|
endif()
|