Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kayoub5 committed Jul 9, 2024
1 parent 0de2374 commit ff8efd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.9)
cmake_minimum_required(VERSION 3.17)

add_executable(tecmp_app "app.cpp")
find_package(pcapplusplus REQUIRED CONFIG)
find_package(pcapplusplus REQUIRED)

target_link_libraries(tecmp_app PRIVATE tecmp_library pcapplusplus::pcapplusplus)
target_compile_features(tecmp_app PRIVATE cxx_std_17)
target_link_libraries(tecmp_app PUBLIC tecmp_library PcapPlusPlus::PcapPlusPlus)
target_compile_features(tecmp_app PUBLIC cxx_std_17)

add_test(
NAME "tecmp_app.test"
Expand Down
2 changes: 1 addition & 1 deletion apps/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <unordered_map>
#include <errno.h>
#include <tecmp/tecmp.h>
#include "PcapFileDevice.h"
#include "pcapplusplus/PcapFileDevice.h"
#include <time.h>

using namespace pcpp;
Expand Down

0 comments on commit ff8efd0

Please sign in to comment.