build: Remove NS3_ENABLE_EXAMPLES flag

examples_as_tests_dependencies macro adds examples called by tests as CMake target dependencies
This commit is contained in:
Gabriel Ferreira
2024-08-24 21:26:04 +02:00
parent c3236a29fc
commit 4f5b356517
2 changed files with 0 additions and 7 deletions

View File

@@ -183,10 +183,6 @@ function(build_lib)
target_precompile_headers(${BLIB_LIBNAME} REUSE_FROM stdlib_pch)
endif()
if(${ENABLE_EXAMPLES} AND ${ENABLE_TESTS})
target_compile_definitions(${BLIB_LIBNAME} PRIVATE NS3_ENABLE_EXAMPLES)
endif()
# Associate public headers with library for installation purposes
set_target_properties(
${BLIB_LIBNAME}