diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-10-22 21:46:20 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-10-22 21:46:20 +0200 |
commit | c463f360698ed9ca4af32a42ae0f56a7cc9185cb (patch) | |
tree | 7150d045b13f2afa7064afc8d9f44577bc37d99e /CMakeLists.txt | |
parent | 43c1ce04adecc91d23f99481ccb229607d837255 (diff) | |
download | etisnoop-c463f360698ed9ca4af32a42ae0f56a7cc9185cb.tar.gz etisnoop-c463f360698ed9ca4af32a42ae0f56a7cc9185cb.tar.bz2 etisnoop-c463f360698ed9ca4af32a42ae0f56a7cc9185cb.zip |
Add DAB+ Reed-Solomon decoding and error statistics print
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fbe524..8a0c139 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ set(VERSION_INFO_MAINT_VERSION git) # Compiler specific setup ######################################################################## -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall -std=c++11") ######################################################################## @@ -36,6 +36,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall") find_package(Faad REQUIRED) include_directories(${FAAD_INCLUDE_DIRS}) +# libfec +find_package(Fec REQUIRED) +include_directories(${FEC_INCLUDE_DIRS}) ######################################################################## # Setup apps @@ -49,11 +52,12 @@ list(APPEND etisnoop_sources wavfile.c etiinput.cpp etisnoop.cpp + rsdecoder.cpp ) set_source_files_properties(${etisnoop_sources} PROPERTIES LANGUAGE "CXX") add_executable(etisnoop ${etisnoop_sources}) -target_link_libraries(etisnoop ${FAAD_LIBRARIES}) +target_link_libraries(etisnoop ${FAAD_LIBRARIES} ${FEC_LIBRARIES}) install(TARGETS etisnoop DESTINATION bin) |