mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-08 09:36:02 -05:00
31 lines
852 B
CMake
31 lines
852 B
CMake
project(demod)
|
|
|
|
add_subdirectory(demodlora)
|
|
add_subdirectory(demodam)
|
|
add_subdirectory(demodbfm)
|
|
add_subdirectory(demodnfm)
|
|
add_subdirectory(demodssb)
|
|
add_subdirectory(udpsrc)
|
|
add_subdirectory(demodwfm)
|
|
add_subdirectory(chanalyzer)
|
|
add_subdirectory(demodatv)
|
|
|
|
if(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
|
add_subdirectory(demoddsd)
|
|
endif(LIBDSDCC_FOUND AND LIBMBE_FOUND)
|
|
|
|
find_package(FFmpeg)
|
|
if (FFMPEG_FOUND)
|
|
# You can only get FFmpeg version from the command line
|
|
EXECUTE_PROCESS(COMMAND ffmpeg -version COMMAND grep ffmpeg COMMAND cut -d\ -f3 COMMAND tr -d '\n' OUTPUT_VARIABLE FFMPEG_VERSION)
|
|
message(STATUS "FFmpeg version ${FFMPEG_VERSION} found")
|
|
if(FFMPEG_VERSION VERSION_GREATER "3.1")
|
|
message(STATUS "Include demoddatv")
|
|
add_subdirectory(demoddatv)
|
|
endif()
|
|
endif()
|
|
|
|
if (BUILD_DEBIAN)
|
|
add_subdirectory(demoddsd)
|
|
endif (BUILD_DEBIAN)
|