diff options
author | Volker Schroer <3470424+dl1ksv@users.noreply.github.com> | 2021-02-09 16:28:28 +0100 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-02-09 09:05:14 -0800 |
commit | ff637fb83a7e5c63f27de893e92fb9f0f4348340 (patch) | |
tree | 8cecc9e3ced0e52bdcb7fe1fe38fa6934dd1fb15 /gr-fec/grc/CMakeLists.txt | |
parent | 209b164af1eb1e5b6faefe12d8dc1d36294ee52b (diff) |
fec: If GSL is missing, remove those yml files that require GSL
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
Diffstat (limited to 'gr-fec/grc/CMakeLists.txt')
-rw-r--r-- | gr-fec/grc/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gr-fec/grc/CMakeLists.txt b/gr-fec/grc/CMakeLists.txt index f1a9e351bc..08d0e6118c 100644 --- a/gr-fec/grc/CMakeLists.txt +++ b/gr-fec/grc/CMakeLists.txt @@ -8,6 +8,18 @@ ######################################################################## file(GLOB yml_files "*.yml") +# Without GSL, we don't build some of the LDPC work, so we can't use +# it in grc +if(NOT GSL_FOUND) + list(REMOVE_ITEM + yml_files + ${CMAKE_CURRENT_SOURCE_DIR}/variable_ldpc_bit_flip_decoder.block.yml + ${CMAKE_CURRENT_SOURCE_DIR}/variable_ldpc_G_matrix_object.block.yml + ${CMAKE_CURRENT_SOURCE_DIR}/variable_ldpc_H_matrix_object.block.yml + ${CMAKE_CURRENT_SOURCE_DIR}/variable_ldpc_encoder_G.block.yml + ${CMAKE_CURRENT_SOURCE_DIR}/variable_ldpc_encoder_H.block.yml +) +endif(NOT GSL_FOUND) install(FILES ${yml_files} DESTINATION ${GRC_BLOCKS_DIR} |