Reflect changes made to some CMake targets names in linphone-sdk.

This commit is contained in:
Ghislain MARY 2023-05-25 18:15:57 +02:00 committed by Julien Wadel
parent 58a96ed48a
commit 7548caa721
3 changed files with 10 additions and 10 deletions

View file

@ -26,10 +26,10 @@
# LINPHONE_INCLUDE_DIRS - the linphone include directory
# LINPHONE_LIBRARIES - The library needed to use linphone
if(TARGET linphone)
if(TARGET liblinphone)
set(LINPHONE_LIBRARIES linphone)
get_target_property(LINPHONE_INCLUDE_DIRS linphone INTERFACE_INCLUDE_DIRECTORIES)
set(LINPHONE_LIBRARIES liblinphone)
get_target_property(LINPHONE_INCLUDE_DIRS liblinphone INTERFACE_INCLUDE_DIRECTORIES)
include(FindPackageHandleStandardArgs)

View file

@ -26,10 +26,10 @@
# LINPHONECXX_INCLUDE_DIRS - the linphonecxx include directory
# LINPHONECXX_LIBRARIES - The library needed to use linphonecxx
if(TARGET linphone++)
if(TARGET liblinphone++)
set(LINPHONECXX_LIBRARIES linphone++)
get_target_property(LINPHONECXX_INCLUDE_DIRS linphone++ INTERFACE_INCLUDE_DIRECTORIES)
set(LINPHONECXX_LIBRARIES liblinphone++)
get_target_property(LINPHONECXX_INCLUDE_DIRS liblinphone++ INTERFACE_INCLUDE_DIRECTORIES)
include(FindPackageHandleStandardArgs)

View file

@ -27,12 +27,12 @@
# MEDIASTREAMER2_LIBRARIES - The library needed to use mediasteamer2
# MEDIASTREAMER2_PLUGINS_LOCATION - The location of the mediastreamer2 plugins
if(TARGET mediastreamer)
if(TARGET mediastreamer2)
set(MEDIASTREAMER2_LIBRARIES mediastreamer)
get_target_property(MEDIASTREAMER2_INCLUDE_DIRS mediastreamer INTERFACE_INCLUDE_DIRECTORIES)
set(MEDIASTREAMER2_LIBRARIES mediastreamer2)
get_target_property(MEDIASTREAMER2_INCLUDE_DIRS mediastreamer2 INTERFACE_INCLUDE_DIRECTORIES)
define_property(TARGET PROPERTY "MS2_PLUGINS" BRIEF_DOCS "Stores the location of mediastreamer2 plugins" FULL_DOCS "Stores the location of mediastreamer2 plugins")
get_target_property(MEDIASTREAMER2_PLUGINS_LOCATION mediastreamer MS2_PLUGINS)
get_target_property(MEDIASTREAMER2_PLUGINS_LOCATION mediastreamer2 MS2_PLUGINS)
include(FindPackageHandleStandardArgs)