mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 16:10:33 +03:00
15 lines
369 B
CMake
15 lines
369 B
CMake
|
set(BENCHMARK_SRC
|
||
|
"main.cpp"
|
||
|
)
|
||
|
|
||
|
if(WITH_BENCHMARK)
|
||
|
add_executable(${BENCHMARK_NAME} ${BENCHMARK_SRC})
|
||
|
target_link_libraries(
|
||
|
${BENCHMARK_NAME} ${CORE_NAME} ${DL_LIB} ${Boost_LIBRARIES} ${CRYPTO++_LIBRARIES}
|
||
|
${CMAKE_THREAD_LIBS_INIT}
|
||
|
)
|
||
|
install(TARGETS
|
||
|
${BENCHMARK_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||
|
)
|
||
|
endif()
|