1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 15:33:34 -04:00

FreeDV modulator: compilation conditional to codec2 library found

This commit is contained in:
f4exb
2019-02-22 15:57:27 +01:00
parent 8ec923c746
commit f481a28a6c
2 changed files with 40 additions and 2 deletions
+4 -2
View File
@@ -20,5 +20,7 @@ if (BUILD_DEBIAN)
add_subdirectory(remotesource)
endif (BUILD_DEBIAN)
# TODO: add FreeDV stuff only if codec2 library is present
add_subdirectory(modfreedv)
find_package(Codec2)
if (CODEC2_FOUND)
add_subdirectory(modfreedv)
endif(CODEC2_FOUND)