@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@")

if(@Pulse_USING_PROTOBUF_DIR@)
  set(protobuf_DIR "@protobuf_DIR@")
  find_package(protobuf REQUIRED CONFIG NO_DEFAULT_PATH)
else()
  find_package(protobuf QUIET CONFIG NO_DEFAULT_PATH)
  if(NOT protobuf_FOUND)
    find_package(Protobuf REQUIRED)
  endif()
endif()

include(${${export_config_name}Targets})

check_required_components(${export_config_name})
