Commit 160ca554 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Some cleaning.

parent 8dafb682
......@@ -50,21 +50,21 @@ else()
if(${ENABLE_GSM})
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--with-gsm=${CMAKE_INSTALL_PREFIX}")
list(APPEND EP_ms2_DEPENDENCIES EP_gsm)
else(${ENABLE_GSM})
else()
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--disable-gsm")
endif(${ENABLE_GSM})
endif()
if(${ENABLE_OPUS})
list(APPEND EP_ms2_DEPENDENCIES EP_opus)
else(${ENABLE_OPUS})
else()
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--disable-opus")
endif(${ENABLE_OPUS})
endif()
if(${ENABLE_SPEEX})
list(APPEND EP_ms2_DEPENDENCIES EP_speex)
else(${ENABLE_SPEEX})
else()
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--disable-speex")
endif(${ENABLE_SPEEX})
endif()
if(${ENABLE_VIDEO})
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--enable-video")
......@@ -74,23 +74,23 @@ else()
if(${ENABLE_FFMPEG})
list(APPEND EP_ms2_DEPENDENCIES EP_ffmpeg)
else(${ENABLE_FFMPEG})
else()
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--disable-ffmpeg")
endif(${ENABLE_FFMPEG})
endif()
if(${ENABLE_VPX})
list(APPEND EP_ms2_DEPENDENCIES EP_vpx)
else(${ENABLE_VPX})
else()
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--disable-vp8")
endif(${ENABLE_VPX})
endif()
if("${BUILD_V4L}" STREQUAL "yes")
list(APPEND EP_ms2_DEPENDENCIES EP_v4l)
endif("${BUILD_V4L}" STREQUAL "yes")
endif()
if(${ENABLE_UNIT_TESTS})
list(APPEND EP_ms2_DEPENDENCIES EP_cunit)
else(${ENABLE_UNIT_TESTS})
else()
list(APPEND EP_ms2_CONFIGURE_OPTIONS "--disable-tests")
endif(${ENABLE_UNIT_TESTS})
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