Disable Boost.Coroutine deprecation warning

This commit is contained in:
Vinnie Falco
2017-01-07 16:07:04 -05:00
parent 01c76c7b5c
commit 10dbc5b96a
2 changed files with 5 additions and 0 deletions
+3
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
--------------------------------------------------------------------------------
+2
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")