Commit b3c247b6 authored by Ghislain MARY's avatar Ghislain MARY

Allow inclusion of CMake project in a global CMake project.

parent 6f84ae67
......@@ -87,8 +87,13 @@ if(MSVC)
endif()
endif()
find_package(BelleSIP REQUIRED)
find_package(Mediastreamer2 REQUIRED)
if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
include("${EP_bellesip_CONFIG_DIR}/BelleSIPConfig.cmake")
include("${EP_ms2_CONFIG_DIR}/Mediastreamer2Config.cmake")
else()
find_package(BelleSIP REQUIRED)
find_package(Mediastreamer2 REQUIRED)
endif()
find_package(XML2 REQUIRED)
find_package(Zlib)
if(ENABLE_UNIT_TESTS)
......
......@@ -36,7 +36,7 @@ if(DOXYGEN_FOUND)
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile ${DOC_INPUT_FILES}
)
add_custom_target(doc ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/doc/html/index.html")
add_custom_target(linphone-doc ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/doc/html/index.html")
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/doc/html" "${CMAKE_CURRENT_BINARY_DIR}/doc/xml"
DESTINATION "share/doc/linphone-${LINPHONE_VERSION}")
else()
......
mediastreamer2 @ 8eee0095
Subproject commit 67fd090ce4c4845edfeda08050f4d0bb25281241
Subproject commit 8eee009590dffc7db91a355c6f28e5ac1f3622c9
oRTP @ 848c3402
Subproject commit 66fcf36abb30ddf65ca3f99d9bd0aecf8085e5f3
Subproject commit 848c3402122d1249cfe583b66ca8d21857c3d916
......@@ -82,4 +82,3 @@ else()
target_link_libraries(liblinphone_tester linphone ${GTK2_LIBRARIES})
endif()
endif()
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