Skip to content

Commit

Permalink
Disable coroutines with boost v1.72
Browse files Browse the repository at this point in the history
  • Loading branch information
basiliscos committed Sep 4, 2020
1 parent dbfa778 commit 877d68b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@ if(BOOST_VERSION_OK)
add_test("t-20-promise" t-20-promise)
endif()

add_executable(t-21-coroutine t/21-coroutine.cpp)
target_link_libraries(t-21-coroutine ${LINK_DEPENDENCIES})
add_test("t-21-coroutine" t-21-coroutine)
# seems boost is periodically broken. Please, send a fixing PR if u know how
if ((Boost_MAJOR_VERSION GREATER_EQUAL 1) AND (Boost_MINOR_VERSION GREATER_EQUAL 74))
add_executable(t-21-coroutine t/21-coroutine.cpp)
target_link_libraries(t-21-coroutine ${LINK_DEPENDENCIES})
add_test("t-21-coroutine" t-21-coroutine)
endif()

add_executable(t-22-ping_drop-policy t/22-ping_drop-policy.cpp)
target_link_libraries(t-22-ping_drop-policy ${LINK_DEPENDENCIES})
Expand Down

0 comments on commit 877d68b

Please sign in to comment.