# TelepathyQt5FarstreamConfig.cmake is generated by CMake from TelepathyQt/TelepathyQtFarstreamConfig.cmake.in.
# Any changed value in this file will be overwritten by CMake.

if(NOT TelepathyQt5Farstream_FOUND)

    
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
####### Any changes to this file will be overwritten by the next CMake run ####
####### The input file was TelepathyQtFarstreamConfig.cmake.in                            ########

get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)

macro(set_and_check _var _file)
  set(${_var} "${_file}")
  if(NOT EXISTS "${_file}")
    message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
  endif()
endmacro()

####################################################################################

    # set the version number
    set(TELEPATHY_QT5_FARSTREAM_VERSION_MAJOR 0)
    set(TELEPATHY_QT5_FARSTREAM_VERSION_MINOR 9)
    set(TELEPATHY_QT5_FARSTREAM_VERSION_MICRO 8)
    set(TELEPATHY_QT5_FARSTREAM_VERSION_NANO 0)
    set(TELEPATHY_QT5_FARSTREAM_VERSION 0.9.8)

    # set the directories
    if(NOT TELEPATHY_QT5_FARSTREAM_INSTALL_DIR)
        set_and_check(TELEPATHY_QT5_FARSTREAM_INSTALL_DIR "${PACKAGE_PREFIX_DIR}")
    endif()

    set_and_check(TELEPATHY_QT5_FARSTREAM_INCLUDE_DIR    "${PACKAGE_PREFIX_DIR}/include/telepathy-qt5")
    set_and_check(TELEPATHY_QT5_FARSTREAM_LIB_DIR        "${PACKAGE_PREFIX_DIR}/lib")

    find_package(TelepathyQt5 REQUIRED)

    set(TELEPATHY_QT5_FARSTREAM_LIBRARIES telepathy-qt5-farstream)
endif()
