blob: bb5ddde48932f2ee6c2f6c523664ddf5817b83d0 [file] [log] [blame]
Piotr Krysik0945cc52017-09-13 09:17:50 +02001# Copyright 2011,2012 Free Software Foundation, Inc.
2#
3# This file is part of GNU Radio
4#
5# GNU Radio is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3, or (at your option)
8# any later version.
9#
10# GNU Radio is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with GNU Radio; see the file COPYING. If not, write to
17# the Free Software Foundation, Inc., 51 Franklin Street,
18# Boston, MA 02110-1301, USA.
19
Piotr Krysik1a5e87e2018-03-04 19:36:24 +010020if(NOT LIBOSMOCORE_FOUND OR NOT LIBOSMOCODEC_FOUND)
21 message(STATUS "Libosmocore installation not found - compiling local version")
22 add_subdirectory(osmocom/core)
23 add_subdirectory(osmocom/codec)
24 add_subdirectory(osmocom/gsm)
25elseif(NOT LIBOSMOCODING_FOUND)
26 message(STATUS "Libosmocore found but libosmocoding is missing - compiling local version")
27 add_subdirectory(osmocom/coding)
28endif()
29
Piotr Krysik9b5617a2017-09-18 21:36:06 +020030add_subdirectory(openbts)
Piotr Krysik0945cc52017-09-13 09:17:50 +020031
32add_sources(
33 control_channels_decoder_impl.cc
34 tch_f_decoder_impl.cc
35 sch.c
36)
37