Commit aedf1df3 authored by Ghislain MARY's avatar Ghislain MARY

Fix build without non free codecs when building with CMake.

parent ceb0f52e
......@@ -333,6 +333,8 @@ if(ENABLE_FIXED_POINT)
endif()
if(ENABLE_NON_FREE_CODECS)
set(HAVE_NON_FREE_CODECS 1)
else()
set(HAVE_NON_FREE_CODECS 0)
endif()
if(PCAP_FOUND)
set(HAVE_PCAP 1)
......
......@@ -32,7 +32,7 @@
#cmakedefine WORDS_BIGENDIAN
#cmakedefine MS_FIXED_POINT
#cmakedefine HAVE_NON_FREE_CODECS 1
#define HAVE_NON_FREE_CODECS ${HAVE_NON_FREE_CODECS}
#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