blob: 08d0e6118c05fc21b3bbf29e16f4d99ed47bf910 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 2012 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
########################################################################
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}
)
|