aboutsummaryrefslogtreecommitdiff
path: root/plugins/rtp/CMakeLists.txt
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2021-03-23 20:04:28 +0100
committerMarvin W <git@larma.de>2021-03-23 20:04:28 +0100
commit4b230808b9566322fae8d1ef0d1a5cb3e8027d3b (patch)
tree0243fa93129ece9cfc1f92430ccc6659ee1259aa /plugins/rtp/CMakeLists.txt
parent97ab7de7ab4f958eb7d273e524151007d44ea1d7 (diff)
downloaddino-4b230808b9566322fae8d1ef0d1a5cb3e8027d3b.tar.gz
dino-4b230808b9566322fae8d1ef0d1a5cb3e8027d3b.zip
Move SRTP implementation into crypto library for reuse
Diffstat (limited to 'plugins/rtp/CMakeLists.txt')
-rw-r--r--plugins/rtp/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/rtp/CMakeLists.txt b/plugins/rtp/CMakeLists.txt
index ef2f7698..5311fac3 100644
--- a/plugins/rtp/CMakeLists.txt
+++ b/plugins/rtp/CMakeLists.txt
@@ -18,11 +18,10 @@ SOURCES
src/video_widget.vala
src/register_plugin.vala
CUSTOM_VAPIS
- ${CMAKE_BINARY_DIR}/exports/crypto-vala.vapi
+ ${CMAKE_BINARY_DIR}/exports/crypto.vapi
${CMAKE_BINARY_DIR}/exports/xmpp-vala.vapi
${CMAKE_BINARY_DIR}/exports/dino.vapi
${CMAKE_BINARY_DIR}/exports/qlite.vapi
- ${CMAKE_CURRENT_SOURCE_DIR}/src/srtp.vapi
PACKAGES
${RTP_PACKAGES}
OPTIONS
@@ -30,7 +29,7 @@ OPTIONS
)
add_definitions(${VALA_CFLAGS} -DG_LOG_DOMAIN="rtp" -I${CMAKE_CURRENT_SOURCE_DIR}/src)
-add_library(rtp SHARED ${RTP_VALA_C} src/srtp.c)
+add_library(rtp SHARED ${RTP_VALA_C})
target_link_libraries(rtp libdino crypto-vala ${RTP_PACKAGES})
set_target_properties(rtp PROPERTIES PREFIX "")
set_target_properties(rtp PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins/)