Commit 6f9a8669 authored by Ghislain MARY's avatar Ghislain MARY

Fix build without video.

parent d58fc248
......@@ -111,7 +111,7 @@ cmake_dependent_option(ENABLE_VPX "Build mediastreamer2 with VPX codec." YES "EN
option(ENABLE_MKV "Enable support of MKV files reading and writing." YES)
cmake_dependent_option(ENABLE_QNX "Build medistreamer2 with BB10 filters." NO "ENABLE_VIDEO" NO)
option(ENABLE_JPEG "Enable JPEG support" YES)
option(ENABLE_QRCODE "Enable QRCode support" YES)
cmake_dependent_option(ENABLE_QRCODE "Enable QRCode support" YES "ENABLE_VIDEO" NO)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS NO)
......
......@@ -100,9 +100,9 @@ void mediastreamer2_tester_init(void(*ftester_printf)(int level, const char *fmt
#ifdef VIDEO_ENABLED
bc_tester_add_suite(&video_stream_test_suite);
bc_tester_add_suite(&h26x_tools_test_suite);
#endif
#ifdef QRCODE_ENABLED
bc_tester_add_suite(&qrcode_test_suite);
#endif
#endif
bc_tester_add_suite(&framework_test_suite);
bc_tester_add_suite(&player_test_suite);
......
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