Commit 9d5ee1dd authored by Ghislain MARY's avatar Ghislain MARY

Add ENABLE_NON_FREE_CODECS option for CMake.

parent 4e8d9732
......@@ -58,6 +58,7 @@ include(CMakeDependentOption)
option(ENABLE_STATIC "Build static library (default is shared library)." NO)
option(ENABLE_DEBUG_LOGS "Enable the display of traces showing the execution of the library." NO)
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." YES)
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)
......@@ -341,6 +342,9 @@ endif()
if(ENABLE_FIXED_POINT)
set(MS_FIXED_POINT 1)
endif()
if(ENABLE_NON_FREE_CODECS)
set(HAVE_NON_FREE_CODECS 1)
endif()
if(SRTP_FOUND)
set(HAVE_SRTP 1)
endif()
......
......@@ -49,6 +49,7 @@
#cmakedefine WORDS_BIGENDIAN
#cmakedefine MS_FIXED_POINT
#cmakedefine HAVE_NON_FREE_CODECS 1
#cmakedefine HAVE_CU_GET_SUITE 1
#cmakedefine HAVE_CU_CURSES 1
......
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