Disable Boost.Coroutine deprecation warning

This commit is contained in:
Vinnie Falco
2017-01-07 10:15:26 -05:00
parent 64e0bb15ad
commit 606ad187ba
2 changed files with 5 additions and 0 deletions

View File

@@ -4,6 +4,9 @@
* Implement the Asio deallocation-before-invocation guarantee
* Add handler helpers
* Avoid copies in handler_alloc
* Update README.md example programs
* Fix websocket stream read documentation
* Disable Boost.Coroutine deprecation warning
--------------------------------------------------------------------------------

View File

@@ -36,6 +36,8 @@ else()
"${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Wpedantic -Wno-unused-parameter")
endif()
add_definitions ("-DBOOST_COROUTINES_NO_DEPRECATION_WARNING")
if (APPLE AND NOT DEFINED ENV{OPENSSL_ROOT_DIR})
find_program(HOMEBREW brew)
if (NOT HOMEBREW STREQUAL "HOMEBREW-NOTFOUND")