Skip to content

Commit

Permalink
add control (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored May 7, 2024
1 parent 5745cbb commit d380021
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ set(CINATRA_EXAMPLE
add_executable(${project_name} ${CINATRA_EXAMPLE})
target_compile_definitions(${project_name} PRIVATE ASYNC_SIMPLE_HAS_NOT_AIO)

add_executable(benchmark benchmark.cpp)
target_compile_definitions(benchmark PRIVATE ASYNC_SIMPLE_HAS_NOT_AIO)
if (BUILD_BENCHMARK)
add_executable(benchmark benchmark.cpp)
target_compile_definitions(benchmark PRIVATE ASYNC_SIMPLE_HAS_NOT_AIO)
endif()

if (ENABLE_SSL)
target_link_libraries(${project_name} ${OPENSSL_LIBRARIES} pthread -ldl)
Expand Down

0 comments on commit d380021

Please sign in to comment.