build: Remove lib prefix from test module

This commit is contained in:
Gabriel Ferreira
2024-08-31 19:56:20 +02:00
parent 8a8c1e5e95
commit 2ed1ac1e24
2 changed files with 3 additions and 3 deletions

View File

@@ -202,8 +202,8 @@ macro(write_configtable)
set(really-enabled-modules ${ns3-libs};${ns3-contrib-libs})
if(${ENABLE_TESTS})
list(APPEND really-enabled-modules libtest) # test is an object library and
# is treated differently
list(APPEND really-enabled-modules test) # test is an object library and
# is treated differently
endif()
if(really-enabled-modules)
print_formatted_table_with_modules(

View File

@@ -89,7 +89,7 @@ if(traffic-control
endif()
add_library(
${libtest}
test
OBJECT
${PROJECT_SOURCE_DIR}/build-support/empty.cc # empty source file if only
# libcore is enabled