From ba022cc5f7a1a12ff8526ce51a3fdc5edd7c4c0c Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 24 Jun 2020 11:42:45 +0200 Subject: [PATCH] Improve consistency of CMake scripts --- src/algorithms/signal_source/gnuradio_blocks/CMakeLists.txt | 2 +- src/algorithms/tracking/libs/CMakeLists.txt | 2 +- src/core/receiver/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/signal_source/gnuradio_blocks/CMakeLists.txt b/src/algorithms/signal_source/gnuradio_blocks/CMakeLists.txt index 185768fd2..a71dde216 100644 --- a/src/algorithms/signal_source/gnuradio_blocks/CMakeLists.txt +++ b/src/algorithms/signal_source/gnuradio_blocks/CMakeLists.txt @@ -107,7 +107,7 @@ endif() if(USE_BOOST_ASIO_IO_CONTEXT) target_compile_definitions(signal_source_gr_blocks PUBLIC - -DUSE_BOOST_ASIO_IO_CONTEXT + -DUSE_BOOST_ASIO_IO_CONTEXT=1 ) endif() diff --git a/src/algorithms/tracking/libs/CMakeLists.txt b/src/algorithms/tracking/libs/CMakeLists.txt index 2f9128a38..246ce4d42 100644 --- a/src/algorithms/tracking/libs/CMakeLists.txt +++ b/src/algorithms/tracking/libs/CMakeLists.txt @@ -114,7 +114,7 @@ endif() if(USE_BOOST_ASIO_IO_CONTEXT) target_compile_definitions(tracking_libs PUBLIC - -DUSE_BOOST_ASIO_IO_CONTEXT + -DUSE_BOOST_ASIO_IO_CONTEXT=1 ) endif() diff --git a/src/core/receiver/CMakeLists.txt b/src/core/receiver/CMakeLists.txt index 594d771b4..35384ff95 100644 --- a/src/core/receiver/CMakeLists.txt +++ b/src/core/receiver/CMakeLists.txt @@ -129,7 +129,7 @@ endif() if(USE_BOOST_ASIO_IO_CONTEXT) target_compile_definitions(core_receiver PRIVATE - -DUSE_BOOST_ASIO_IO_CONTEXT + -DUSE_BOOST_ASIO_IO_CONTEXT=1 ) endif()