From c8ef71d00fa5107fb53b4c2ec2a7b918b1e86a01 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Thu, 14 Jul 2022 20:23:19 +0000 Subject: [PATCH] build: update modules that depend on config-store --- src/buildings/CMakeLists.txt | 6 ++---- src/flow-monitor/CMakeLists.txt | 6 ++---- src/lte/examples/CMakeLists.txt | 7 +++++-- src/traffic-control/CMakeLists.txt | 6 ++---- src/traffic-control/examples/CMakeLists.txt | 1 + src/wave/examples/CMakeLists.txt | 1 + 6 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/buildings/CMakeLists.txt b/src/buildings/CMakeLists.txt index cf3a3df88..347b3f747 100644 --- a/src/buildings/CMakeLists.txt +++ b/src/buildings/CMakeLists.txt @@ -30,10 +30,8 @@ build_lib( model/oh-buildings-propagation-loss-model.h model/random-walk-2d-outdoor-mobility-model.h model/three-gpp-v2v-channel-condition-model.h - LIBRARIES_TO_LINK - ${libmobility} - ${libpropagation} - ${libconfig-store} + LIBRARIES_TO_LINK ${libmobility} + ${libpropagation} TEST_SOURCES test/building-position-allocator-test.cc test/buildings-helper-test.cc diff --git a/src/flow-monitor/CMakeLists.txt b/src/flow-monitor/CMakeLists.txt index ba3dab794..fe4788a3b 100644 --- a/src/flow-monitor/CMakeLists.txt +++ b/src/flow-monitor/CMakeLists.txt @@ -18,8 +18,6 @@ build_lib( model/ipv4-flow-probe.h model/ipv6-flow-classifier.h model/ipv6-flow-probe.h - LIBRARIES_TO_LINK - ${libinternet} - ${libconfig-store} - ${libstats} + LIBRARIES_TO_LINK ${libinternet} + ${libstats} ) diff --git a/src/lte/examples/CMakeLists.txt b/src/lte/examples/CMakeLists.txt index 6203f9768..833dcf0ab 100644 --- a/src/lte/examples/CMakeLists.txt +++ b/src/lte/examples/CMakeLists.txt @@ -32,6 +32,7 @@ foreach( NAME ${example} SOURCE_FILES ${example}.cc LIBRARIES_TO_LINK ${liblte} + ${libconfig-store} ) endforeach() @@ -39,7 +40,9 @@ if(${ENABLE_EMU}) build_lib_example( NAME lena-simple-epc-emu SOURCE_FILES lena-simple-epc-emu.cc - LIBRARIES_TO_LINK ${liblte} - ${fd-net-device} + LIBRARIES_TO_LINK + ${liblte} + ${fd-net-device} + ${libconfig-store} ) endif() diff --git a/src/traffic-control/CMakeLists.txt b/src/traffic-control/CMakeLists.txt index 5d8320d1e..6844029ab 100644 --- a/src/traffic-control/CMakeLists.txt +++ b/src/traffic-control/CMakeLists.txt @@ -36,10 +36,8 @@ build_lib( model/red-queue-disc.h model/tbf-queue-disc.h model/traffic-control-layer.h - LIBRARIES_TO_LINK - ${libnetwork} - ${libcore} - ${libconfig-store} + LIBRARIES_TO_LINK ${libnetwork} + ${libcore} TEST_SOURCES test/adaptive-red-queue-disc-test-suite.cc test/cobalt-queue-disc-test-suite.cc diff --git a/src/traffic-control/examples/CMakeLists.txt b/src/traffic-control/examples/CMakeLists.txt index 243182b60..7e9b98ae0 100644 --- a/src/traffic-control/examples/CMakeLists.txt +++ b/src/traffic-control/examples/CMakeLists.txt @@ -62,6 +62,7 @@ build_lib_example( ${libinternet} ${libapplications} ${libtraffic-control} + ${libconfig-store} ) build_lib_example( diff --git a/src/wave/examples/CMakeLists.txt b/src/wave/examples/CMakeLists.txt index e94d4273b..11206c0f3 100644 --- a/src/wave/examples/CMakeLists.txt +++ b/src/wave/examples/CMakeLists.txt @@ -29,6 +29,7 @@ build_lib_example( ${libcore} ${libaodv} ${libapplications} + ${libconfig-store} ${libdsr} ${libdsdv} ${libflow-monitor}