From 95b6562ba9a6216c6d2193a8e9bf78b14de34bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20=C3=87etin?= Date: Sun, 1 Sep 2024 09:39:37 +0300 Subject: [PATCH] Rename benchmark in example because same name with lib --- Examples/PcapPlusPlus-benchmark/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Examples/PcapPlusPlus-benchmark/CMakeLists.txt b/Examples/PcapPlusPlus-benchmark/CMakeLists.txt index 584d6353dd..d1ab67cd27 100644 --- a/Examples/PcapPlusPlus-benchmark/CMakeLists.txt +++ b/Examples/PcapPlusPlus-benchmark/CMakeLists.txt @@ -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()