From 6a56550a8182fc90b7de147dba117b57476ef7f6 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 23 Jun 2016 13:53:26 +0200 Subject: [PATCH] Fix build of daemon with CMake. --- daemon/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index 8d2fbc8df..bdd7f6d6f 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -114,10 +114,10 @@ apply_compile_flags(DAEMON_PIPETEST_SOURCE_FILES "CPP" "C") add_executable(linphone-daemon ${DAEMON_SOURCE_FILES}) target_include_directories(linphone-daemon PRIVATE ${CMAKE_CURRENT_LIST_DIR}) -target_link_libraries(linphone-daemon linphone) +target_link_libraries(linphone-daemon linphone ${MEDIASTREAMER2_LIBRARIES}) add_executable(linphone-daemon-pipetest ${DAEMON_PIPETEST_SOURCE_FILES}) -target_link_libraries(linphone-daemon-pipetest linphone) +target_link_libraries(linphone-daemon-pipetest linphone ${ORTP_LIBRARIES}) set(INSTALL_TARGETS linphone-daemon linphone-daemon-pipetest)