Fix build of lpc2xml_test and xml2lpc_test binaries with CMake.

This commit is contained in:
Ghislain MARY 2017-01-11 10:38:27 +01:00
parent e7213322b1
commit 9dfa5b6846

View file

@ -64,13 +64,13 @@ set_target_properties(lp-sendmsg PROPERTIES LINK_FLAGS "${LINPHONE_LDFLAGS}")
set(LP_LPC2XML_TEST_SOURCE_FILES lpc2xml_test.c)
apply_compile_flags(LP_LPC2XML_TEST_SOURCE_FILES "CPP" "C")
add_executable(lpc2xml_test ${USE_BUNDLE} ${LP_LPC2XML_TEST_SOURCE_FILES})
target_link_libraries(lpc2xml_test ${LINPHONE_LIBS_FOR_TOOLS})
target_link_libraries(lpc2xml_test ${LINPHONE_LIBS_FOR_TOOLS} ${ORTP_LIBRARIES} ${MEDIASTREAMER2_LIBRARIES})
set_target_properties(lpc2xml_test PROPERTIES LINK_FLAGS "${LINPHONE_LDFLAGS}")
set(LP_XML2LPC_TEST_SOURCE_FILES xml2lpc_test.c)
apply_compile_flags(LP_XML2LPC_TEST_SOURCE_FILES "CPP" "C")
add_executable(xml2lpc_test ${USE_BUNDLE} ${LP_XML2LPC_TEST_SOURCE_FILES})
target_link_libraries(xml2lpc_test ${LINPHONE_LIBS_FOR_TOOLS})
target_link_libraries(xml2lpc_test ${LINPHONE_LIBS_FOR_TOOLS} ${ORTP_LIBRARIES} ${MEDIASTREAMER2_LIBRARIES})
set_target_properties(xml2lpc_test PROPERTIES LINK_FLAGS "${LINPHONE_LDFLAGS}")
if (NOT IOS)