aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2017-09-13 12:46:38 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2017-09-13 12:46:38 +0200
commit184d7064a629ce1fada20256ef8c87e6b709693b (patch)
treef1b9d06562c79d2954c00eb59564b0694cd7dc55 /lib
parent0945cc5512e52f9a18770f1eea0dfb0bb1dfb2a4 (diff)
Corrections of cmake files
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt2
-rw-r--r--lib/decoding/CMakeLists.txt5
-rw-r--r--lib/decoding/osmocom/coding/CMakeLists.txt2
3 files changed, 5 insertions, 4 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index e6dd115..6c45f51 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -59,7 +59,7 @@ configure_file(
ESCAPE_QUOTES
@ONLY)
-add_sources(constants.cc)
+list(APPEND grgsm_sources ${CMAKE_CURRENT_BINARY_DIR}/constants.cc)
#########################################################################
# Subdirecories
#########################################################################
diff --git a/lib/decoding/CMakeLists.txt b/lib/decoding/CMakeLists.txt
index 0305a07..144c006 100644
--- a/lib/decoding/CMakeLists.txt
+++ b/lib/decoding/CMakeLists.txt
@@ -18,11 +18,12 @@
# Boston, MA 02110-1301, USA.
+add_subdirectory(osmocom/coding)
+add_subdirectory(openbts)
+
add_sources(
control_channels_decoder_impl.cc
tch_f_decoder_impl.cc
sch.c
)
-add_subdirectory(osmocom/coding)
-add_subdirectory(openbts)
diff --git a/lib/decoding/osmocom/coding/CMakeLists.txt b/lib/decoding/osmocom/coding/CMakeLists.txt
index 615a2f6..8e68577 100644
--- a/lib/decoding/osmocom/coding/CMakeLists.txt
+++ b/lib/decoding/osmocom/coding/CMakeLists.txt
@@ -17,7 +17,7 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-add_sources(APPEND grgsm_sources
+add_sources(
gsm0503_conv.c
gsm0503_coding.c
gsm0503_interleaving.c