diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-11-08 13:13:55 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-11-08 13:16:57 +0100 |
commit | 55c8a848d3ee160c2b4630180b62d534c2b70788 (patch) | |
tree | 59d205ce71f9c3a6e72dbecf63c33a64b30f4c46 /CMakeLists.txt | |
parent | d80ea84d2ebebe29761f3727fbc5295ba3cb81b8 (diff) |
Fixed missing deflate during flow event json serializing.1.6rc3
* caused by recently added serializing some nDPI data even packet processing is still ongoing
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 21020d5e7..91ead84cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -213,6 +213,9 @@ set(NDPID_DEPS_INC "${CMAKE_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/dependencies" "${CMAKE_SOURCE_DIR}/dependencies/jsmn" "${CMAKE_SOURCE_DIR}/dependencies/uthash/src") +if(CMAKE_CROSSCOMPILING) + add_definitions("-DCROSS_COMPILATION=1") +endif() if(ENABLE_MEMORY_PROFILING) message(WARNING "ENABLE_MEMORY_PROFILING should not be used in production environments.") add_definitions("-DENABLE_MEMORY_PROFILING=1" |