Browse Source

ATV modulator: corrected OpenCV dependencies and removed ugly hack

chirpmodem-v8.0.0
f4exb 8 years ago
parent
commit
cde8b87985
  1. 2
      CMakeLists.txt
  2. 2
      plugins/channeltx/modatv/CMakeLists.txt

2
CMakeLists.txt

@ -305,7 +305,7 @@ find_package(PkgConfig REQUIRED) @@ -305,7 +305,7 @@ find_package(PkgConfig REQUIRED)
find_package(Boost REQUIRED)
find_package(FFTW3F REQUIRED)
find_package(LibUSB REQUIRED) # used by so many packages
find_package(OpenCV REQUIRED core highgui imgproc) # channeltx/modatv
find_package(OpenCV REQUIRED core highgui imgproc imgcodecs videoio) # channeltx/modatv
# unfortunately OpenCV library from windows doesn't set the cache option
if(WIN32)

2
plugins/channeltx/modatv/CMakeLists.txt

@ -50,7 +50,7 @@ target_link_libraries(${TARGET_NAME} @@ -50,7 +50,7 @@ target_link_libraries(${TARGET_NAME}
sdrbase
${TARGET_LIB_GUI}
swagger
"${OpenCV_LIBS};opencv_videoio"
"${OpenCV_LIBS}"
)
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})

Loading…
Cancel
Save