Skip to content

Commit

Permalink
Rename benchmark in example because same name with lib
Browse files Browse the repository at this point in the history
  • Loading branch information
egecetin committed Sep 1, 2024
1 parent 27b4619 commit 95b6562
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Examples/PcapPlusPlus-benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
add_executable(benchmark benchmark.cpp)
add_executable(BenchmarkExample benchmark.cpp)

target_link_libraries(benchmark PUBLIC PcapPlusPlus::Pcap++)
target_link_libraries(BenchmarkExample PUBLIC PcapPlusPlus::Pcap++)

set_target_properties(benchmark PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PCAPPP_BINARY_EXAMPLES_DIR}")
set_target_properties(BenchmarkExample PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PCAPPP_BINARY_EXAMPLES_DIR}")

if(PCAPPP_INSTALL)
install(
TARGETS benchmark
TARGETS BenchmarkExample
EXPORT PcapPlusPlusTargets
RUNTIME DESTINATION ${PCAPPP_INSTALL_BINDIR})
endif()

0 comments on commit 95b6562

Please sign in to comment.