Commit 499fa8a7 authored by Ghislain MARY's avatar Ghislain MARY

Disable PCAP by default when building with CMake + reorder include directories.

parent 27265b3a
......@@ -62,7 +62,7 @@ option(ENABLE_DEBUG_LOGS "Enable the display of traces showing the execution of
option(ENABLE_DOC "Enable documentation generation with Doxygen." YES)
option(ENABLE_FIXED_POINT "Turn on fixed point computations." ${ENABLE_FIXED_POINT_DEFAULT_VALUE})
option(ENABLE_NON_FREE_CODECS "Allow inclusion of non-free codecs in the build." NO)
option(ENABLE_PCAP "Enable PCAP support." YES)
option(ENABLE_PCAP "Enable PCAP support." NO)
option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." NO)
option(ENABLE_TOOLS "Turn on or off compilation of tools." YES)
option(ENABLE_UNIT_TESTS "Enable compilation of unit tests." YES)
......@@ -271,7 +271,7 @@ if(ENABLE_MKV)
endif()
endif()
if (ENABLE_QNX)
if(ENABLE_QNX)
find_package(Screen)
if(NOT SCREEN_FOUND)
message(FATAL_ERROR "SCREEN NOT FOUND")
......@@ -297,15 +297,12 @@ include_directories(
${ORTP_INCLUDE_DIRS}
)
if(PCAP_FOUND)
include_directories(${PCAP_INCLUDE_DIRS})
if(BZRTP_FOUND)
include_directories(${BZRTP_INCLUDE_DIRS})
endif()
if(SRTP_FOUND)
include_directories(${SRTP_INCLUDE_DIRS})
endif()
if(BZRTP_FOUND)
include_directories(${BZRTP_INCLUDE_DIRS})
endif()
if(POLARSSL_FOUND)
include_directories(${POLARSSL_INCLUDE_DIRS})
endif()
......@@ -318,6 +315,18 @@ endif()
if(SPEEX_FOUND)
include_directories(${SPEEX_INCLUDE_DIRS})
endif()
if(FFMPEG_FOUND)
include_directories(${FFMPEG_INCLUDE_DIRS})
endif()
if(VPX_FOUND)
include_directories(${VPX_INCLUDE_DIRS})
endif()
if(MATROSKA2_FOUND)
include_directories(${MATROSKA2_INCLUDE_DIRS})
endif()
if(V4L_FOUND)
include_directories(${V4L_INCLUDE_DIRS})
endif()
if(ALSA_FOUND)
include_directories(${ALSA_INCLUDE_DIRS})
endif()
......@@ -336,12 +345,6 @@ endif()
if(QNXAUDIOMANAGER_FOUND)
include_directories(${QNXAUDIOMANAGER_INCLUDE_DIRS})
endif()
if(FFMPEG_FOUND)
include_directories(${FFMPEG_INCLUDE_DIRS})
endif()
if(V4L_FOUND)
include_directories(${V4L_INCLUDE_DIRS})
endif()
if(X11_FOUND)
include_directories(${X11_INCLUDE_DIRS})
endif()
......@@ -351,21 +354,18 @@ endif()
if(GLX_FOUND)
include_directories(${GLX_INCLUDE_DIRS})
endif()
if(VPX_FOUND)
include_directories(${VPX_INCLUDE_DIRS})
if(SCREEN_FOUND)
include_directories(${SCREEN_INCLUDE_DIRS})
endif()
if(MATROSKA2_FOUND)
include_directories(${MATROSKA2_INCLUDE_DIRS})
if(CAMAPI_FOUND)
include_directories(${CAMAPI_INCLUDE_DIRS})
endif()
if(PCAP_FOUND)
include_directories(${PCAP_INCLUDE_DIRS})
endif()
if(MSVC)
include_directories(${MSVC_INCLUDE_DIR})
endif()
if (SCREEN_FOUND)
include_directories(${SCREEN_INCLUDE_DIRS})
endif()
if (CAMAPI_FOUND)
include_directories(${CAMAPI_INCLUDE_DIRS})
endif()
if(ENABLE_DEBUG_LOGS)
add_definitions(-DDEBUG)
......
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