Commit 72524375 authored by Ghislain MARY's avatar Ghislain MARY

Fix build with CMake (MS2 -> Mediastreamer2).

parent d96c5dfe
......@@ -37,9 +37,6 @@ set(VERSION "${PACKAGE_VERSION}")
option(ENABLE_DECODER "Enable the openh264 decoder" Yes)
option(ENABLE_STATIC "Build static library (default is shared library)." NO)
set(WITH_MS2 "${CMAKE_INSTALL_PREFIX}" CACHE STRING "Set prefix where the mediastreamer libraries can be found (ex:/usr or /usr/local)")
set(WITH_OPENH264 "${CMAKE_INSTALL_PREFIX}" CACHE STRING "Set prefix where libopenh264 can be found (ex:/usr or /usr/local)")
set(WITH_ORTP "${CMAKE_INSTALL_PREFIX}" CACHE STRING "Set prefix where the oRTP library can be found (ex:/usr or /usr/local)")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
......@@ -55,7 +52,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY
include_directories(
${MS2_INCLUDE_DIRS}
${MEDIASTREAMER2_INCLUDE_DIRS}
${OPENH264_INCLUDE_DIRS}
src
${CMAKE_CURRENT_BINARY_DIR}
......
......@@ -21,9 +21,8 @@
############################################################################
set(LIBS
${MS2_LIBRARIES}
${MEDIASTREAMER2_LIBRARIES}
${OPENH264_LIBRARIES}
${ORTP_LIBRARIES}
)
set(SOURCE_FILES
......
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