mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 03:56:28 +00:00
Reflect changes made to some CMake targets names in linphone-sdk.
This commit is contained in:
parent
58a96ed48a
commit
7548caa721
3 changed files with 10 additions and 10 deletions
|
|
@ -26,10 +26,10 @@
|
||||||
# LINPHONE_INCLUDE_DIRS - the linphone include directory
|
# LINPHONE_INCLUDE_DIRS - the linphone include directory
|
||||||
# LINPHONE_LIBRARIES - The library needed to use linphone
|
# LINPHONE_LIBRARIES - The library needed to use linphone
|
||||||
|
|
||||||
if(TARGET linphone)
|
if(TARGET liblinphone)
|
||||||
|
|
||||||
set(LINPHONE_LIBRARIES linphone)
|
set(LINPHONE_LIBRARIES liblinphone)
|
||||||
get_target_property(LINPHONE_INCLUDE_DIRS linphone INTERFACE_INCLUDE_DIRECTORIES)
|
get_target_property(LINPHONE_INCLUDE_DIRS liblinphone INTERFACE_INCLUDE_DIRECTORIES)
|
||||||
|
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,10 @@
|
||||||
# LINPHONECXX_INCLUDE_DIRS - the linphonecxx include directory
|
# LINPHONECXX_INCLUDE_DIRS - the linphonecxx include directory
|
||||||
# LINPHONECXX_LIBRARIES - The library needed to use linphonecxx
|
# LINPHONECXX_LIBRARIES - The library needed to use linphonecxx
|
||||||
|
|
||||||
if(TARGET linphone++)
|
if(TARGET liblinphone++)
|
||||||
|
|
||||||
set(LINPHONECXX_LIBRARIES linphone++)
|
set(LINPHONECXX_LIBRARIES liblinphone++)
|
||||||
get_target_property(LINPHONECXX_INCLUDE_DIRS linphone++ INTERFACE_INCLUDE_DIRECTORIES)
|
get_target_property(LINPHONECXX_INCLUDE_DIRS liblinphone++ INTERFACE_INCLUDE_DIRECTORIES)
|
||||||
|
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
|
||||||
|
|
@ -27,12 +27,12 @@
|
||||||
# MEDIASTREAMER2_LIBRARIES - The library needed to use mediasteamer2
|
# MEDIASTREAMER2_LIBRARIES - The library needed to use mediasteamer2
|
||||||
# MEDIASTREAMER2_PLUGINS_LOCATION - The location of the mediastreamer2 plugins
|
# MEDIASTREAMER2_PLUGINS_LOCATION - The location of the mediastreamer2 plugins
|
||||||
|
|
||||||
if(TARGET mediastreamer)
|
if(TARGET mediastreamer2)
|
||||||
|
|
||||||
set(MEDIASTREAMER2_LIBRARIES mediastreamer)
|
set(MEDIASTREAMER2_LIBRARIES mediastreamer2)
|
||||||
get_target_property(MEDIASTREAMER2_INCLUDE_DIRS mediastreamer INTERFACE_INCLUDE_DIRECTORIES)
|
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")
|
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)
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue