diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2024-11-04 12:48:36 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-11-05 12:48:36 +0100 |
commit | f7933d0fdbb47035c27316bd17d3d746af546ac7 (patch) | |
tree | 27bc538ba635fbc3685a0c625701cb5e893df403 /CMakeLists.txt | |
parent | d5a84ce6306427746434d2b24f5e01d188a5c30b (diff) |
Slightly unified C example's logging
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 79f538de9..b9d622aa1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -512,6 +512,7 @@ if(BUILD_EXAMPLES) if(BUILD_NDPI) add_dependencies(nDPIsrvd-notifyd libnDPI) endif() + target_compile_definitions(nDPIsrvd-notifyd PRIVATE ${NDPID_DEFS}) target_include_directories(nDPIsrvd-notifyd PRIVATE "${STATIC_LIBNDPI_INC}" "${DEFAULT_NDPI_INCLUDE}" "${CMAKE_SOURCE_DIR}" "${NDPID_DEPS_INC}" "${DBUS_INCLUDE_DIRS}") @@ -524,6 +525,7 @@ if(BUILD_EXAMPLES) if(BUILD_NDPI) add_dependencies(nDPIsrvd-influxd libnDPI) endif() + target_compile_definitions(nDPIsrvd-influxd PRIVATE ${NDPID_DEFS}) target_include_directories(nDPIsrvd-influxd PRIVATE "${STATIC_LIBNDPI_INC}" "${DEFAULT_NDPI_INCLUDE}" "${CMAKE_SOURCE_DIR}" "${NDPID_DEPS_INC}" "${CURL_INCLUDE_DIRS}") |