From 9284b47880268ccd2b654a9f16607d2303aa0755 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 31 May 2019 11:07:36 +0200 Subject: [PATCH] ATV modulator: fixed undefined symbol cv::VideoCapture --- plugins/channeltx/modatv/CMakeLists.txt | 2 +- plugins/channeltx/modatv/atvmod.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/channeltx/modatv/CMakeLists.txt b/plugins/channeltx/modatv/CMakeLists.txt index af35e7660..32ca54f0f 100644 --- a/plugins/channeltx/modatv/CMakeLists.txt +++ b/plugins/channeltx/modatv/CMakeLists.txt @@ -50,7 +50,7 @@ target_link_libraries(${TARGET_NAME} sdrbase ${TARGET_LIB_GUI} swagger - ${OpenCV_LIBS} + "${OpenCV_LIBS};opencv_videoio" ) install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER}) diff --git a/plugins/channeltx/modatv/atvmod.h b/plugins/channeltx/modatv/atvmod.h index 8b28f455b..9dd1ce2ea 100644 --- a/plugins/channeltx/modatv/atvmod.h +++ b/plugins/channeltx/modatv/atvmod.h @@ -26,6 +26,7 @@ #include #include +#include #include