aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-08-16 13:14:21 +0200
committerToni Uhlig <matzeton@googlemail.com>2024-08-16 13:14:21 +0200
commit8271f15e25a0f803e4c101dae0b46e7bae021147 (patch)
tree3f6b99858a6d4994ad3bf5c7d1bb594795e00240
parentf6f3a4daabb3d4abe437cddd09fca9ffba78449e (diff)
Fixed build error due to missing nDPI includes.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9caf7515..57d884314 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -391,7 +391,8 @@ if(BUILD_EXAMPLES)
add_executable(nDPIsrvd-analysed examples/c-analysed/c-analysed.c utils.c)
target_compile_definitions(nDPIsrvd-analysed PRIVATE ${NDPID_DEFS})
- target_include_directories(nDPIsrvd-analysed PRIVATE "${STATIC_LIBNDPI_INC}" "${NDPID_DEPS_INC}")
+ target_include_directories(nDPIsrvd-analysed PRIVATE
+ "${STATIC_LIBNDPI_INC}" "${DEFAULT_NDPI_INCLUDE}" "${CMAKE_SOURCE_DIR}" ${NDPID_DEPS_INC})
add_executable(nDPIsrvd-simple examples/c-simple/c-simple.c)
target_compile_definitions(nDPIsrvd-simple PRIVATE ${NDPID_DEFS})