@PACKAGE_INIT@

set(export_config_name "@export_config_name@")

set_and_check(${export_config_name}Targets "${CMAKE_CURRENT_LIST_DIR}/${export_config_name}Targets.cmake")

set(Pulse_ROOT ${PACKAGE_PREFIX_DIR})
set(Pulse_VERSION @PROJECT_VERSION@)
set(Pulse_GIT_HASH "@export_git_hash@")

# Pulse uses protobuf, but only distributes/needs its libraries
if (NOT TARGET protobuf::libprotobuf)
  add_library(protobuf::libprotobuf INTERFACE IMPORTED)
  target_link_libraries(protobuf::libprotobuf INTERFACE debug ${PACKAGE_PREFIX_DIR}/lib/@PROTOBUF_LIBRARY_DEBUG@)
  target_link_libraries(protobuf::libprotobuf INTERFACE optimized ${PACKAGE_PREFIX_DIR}/lib/@PROTOBUF_LIBRARY_RELEASE@)
endif()

include(${${export_config_name}Targets})

check_required_components(${export_config_name})
