-
Notifications
You must be signed in to change notification settings - Fork 684
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename benchmark in example because same name with lib
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |