diff --git a/srsenb/test/rrc/CMakeLists.txt b/srsenb/test/rrc/CMakeLists.txt index 06ecb4221..fb6694fd4 100644 --- a/srsenb/test/rrc/CMakeLists.txt +++ b/srsenb/test/rrc/CMakeLists.txt @@ -6,7 +6,7 @@ # the distribution. # -add_library(test_helpers test_helpers.cc) +add_library(test_helpers STATIC test_helpers.cc) target_link_libraries(test_helpers srsenb_rrc srsenb_common rrc_asn1 rrc_nr_asn1 s1ap_asn1 srsran_common enb_cfg_parser ${LIBCONFIGPP_LIBRARIES}) add_executable(rrc_meascfg_test rrc_meascfg_test.cc) diff --git a/srsgnb/src/stack/mac/test/CMakeLists.txt b/srsgnb/src/stack/mac/test/CMakeLists.txt index 6afaccc59..2441f5f8a 100644 --- a/srsgnb/src/stack/mac/test/CMakeLists.txt +++ b/srsgnb/src/stack/mac/test/CMakeLists.txt @@ -8,7 +8,7 @@ set_directory_properties(PROPERTIES LABELS "sched;nr") -add_library(sched_nr_test_suite sched_nr_common_test.cc sched_nr_ue_ded_test_suite.cc sched_nr_sim_ue.cc) +add_library(sched_nr_test_suite STATIC sched_nr_common_test.cc sched_nr_ue_ded_test_suite.cc sched_nr_sim_ue.cc) target_link_libraries(sched_nr_test_suite srsgnb_mac srsran_common rrc_nr_asn1) add_executable(sched_nr_parallel_test sched_nr_parallel_test.cc) @@ -53,4 +53,4 @@ target_link_libraries(sched_nr_test rrc_nr_asn1 srsran_common ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES}) -add_nr_test(sched_nr_test sched_nr_test) \ No newline at end of file +add_nr_test(sched_nr_test sched_nr_test) diff --git a/srsgnb/src/stack/rrc/test/CMakeLists.txt b/srsgnb/src/stack/rrc/test/CMakeLists.txt index 103b1bb38..efca40807 100644 --- a/srsgnb/src/stack/rrc/test/CMakeLists.txt +++ b/srsgnb/src/stack/rrc/test/CMakeLists.txt @@ -6,7 +6,7 @@ # the distribution. # -add_library(rrc_nr_test_helpers rrc_nr_test_helpers.cc) +add_library(rrc_nr_test_helpers STATIC rrc_nr_test_helpers.cc) add_executable(rrc_nr_test rrc_nr_test.cc) target_link_libraries(rrc_nr_test srsgnb_rrc srsgnb_rrc_config_utils srsran_common rrc_nr_asn1 rrc_nr_test_helpers srsgnb_mac ${ATOMIC_LIBS})