Commit 976514f1 authored by jehan's avatar jehan

fix cmake builder

parent 2bc924c1
......@@ -473,7 +473,7 @@ if(ENABLE_STATIC)
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/coreapi/>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/>
PRIVATE ${LINPHONE_INCLUDE_DIRS}
PRIVATE ${LINPHONE_INCLUDE_DIRS} ${LINPHONE_CXX_OBJECTS_INCLUDE_DIRS}
)
target_link_libraries(linphone-static PRIVATE ${LINK_LIBS})
......@@ -531,7 +531,7 @@ if(ENABLE_SHARED)
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/coreapi/>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/>
PRIVATE ${LINPHONE_INCLUDE_DIRS}
PRIVATE ${LINPHONE_INCLUDE_DIRS} ${LINPHONE_CXX_OBJECTS_INCLUDE_DIRS}
)
target_link_libraries(linphone PRIVATE ${LINK_LIBS})
......
......@@ -1320,7 +1320,10 @@ static void redis_publish_subscribe(void) {
LinphoneAddress *marie_identity = linphone_address_ref(marie->identity);
linphone_core_set_network_reachable(marie->lc, FALSE);
linphone_core_manager_destroy(marie);
/*to avoid unregister*/
linphone_core_manager_stop(marie);
linphone_core_manager_uninit(marie);
ms_free(marie);
linphone_core_invite_address(pauline->lc, marie_identity);
BC_ASSERT_TRUE(wait_for_until(pauline->lc, NULL, &pauline->stat.number_of_LinphoneCallOutgoingProgress, 1, 3000));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment