text: ############################################################################
  # LinphoneCxxConfig.cmake
  # Copyright (C) 2017  Belledonne Communications, Grenoble France
  #
  ############################################################################
  #
  # This program is free software; you can redistribute it and/or
  # modify it under the terms of the GNU General Public License
  # as published by the Free Software Foundation; either version 2
  # of the License, or (at your option) any later version.
  #
  # This program is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with this program; if not, write to the Free Software
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  #
  ############################################################################
  #
  # Config file for the Linphone++ package.
  # Some components can be asked for: core, tester.
  #
  # It defines the following variables:
  #
  #  LINPHONECXX_FOUND - system has linphone++
  #  LINPHONECXX_INCLUDE_DIRS - the linphone++ include directory
  #  LINPHONECXX_LIBRARIES - The libraries needed to use linphone++
  #  LINPHONECXX_LDFLAGS - The linking flags needed to use linphone++
  if (NOT LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
  	include("${CMAKE_CURRENT_LIST_DIR}/LinphoneCxxTargets.cmake")
  endif()
  set(LINPHONECXX_LDFLAGS "")
  set(LINPHONECXX_CPPFLAGS "")
  set(LINPHONECXX_LIBRARIES linphone++)
  
  #get_target_property(LINPHONECXX_INCLUDE_DIRS linphone++ INTERFACE_INCLUDE_DIRECTORIES)
  #list(INSERT LINPHONECXX_INCLUDE_DIRS 0 "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
  if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
          list(APPEND LINPHONECXX_INCLUDE_DIRS "@CMAKE_CURRENT_BINARY_DIR@/include")
          list(APPEND LINPHONECXX_INCLUDE_DIRS "${EP_linphone_INCLUDE_DIR}/../wrappers/cpp") 
  else()
  	set(LINPHONECXX_INCLUDE_DIRS "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
  endif()
  list(REMOVE_DUPLICATES LINPHONECXX_INCLUDE_DIRS)
  
  set(LINPHONECXX_FOUND 1)
  