From e013b90c9eb2e539b46a6dae955897ef5e97e3ea Mon Sep 17 00:00:00 2001 From: "Denys Zikratyi -X (dzikraty - SOFTSERVE INC at Cisco)" Date: Mon, 24 Feb 2025 17:28:59 +0000 Subject: [PATCH] Pull request #4633: thread_config: fix numa build issue Merge in SNORT/snort3 from ~DZIKRATY/snort3:fix_numa_build_issue to master Squashed commit of the following: commit c65a808e9f7ad41122b4921875d397b6dfb88adf Author: Denys Zikratyi -X (dzikraty - SOFTSERVE INC at Cisco) Date: Mon Feb 24 04:14:31 2025 -0500 thread_config: fix numa build issue --- src/main/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index 00458609e..117612b94 100644 --- a/src/main/CMakeLists.txt +++ b/src/main/CMakeLists.txt @@ -22,6 +22,10 @@ endif ( ENABLE_SHELL ) add_subdirectory(test) +if ( HAVE_NUMA ) + set ( NUMA_SOURCES numa.h numa.cc) +endif( HAVE_NUMA ) + add_library (main OBJECT analyzer.cc analyzer.h @@ -32,8 +36,6 @@ add_library (main OBJECT modules.h network_module.cc network_module.h - numa.h - numa.cc oops_handler.cc oops_handler.h policy.cc @@ -55,6 +57,7 @@ add_library (main OBJECT ${INCLUDES} ${LOCAL_INCLUDES} ${SHELL_SOURCES} + ${NUMA_SOURCES} ) add_custom_command ( -- 2.47.3