diff --git a/CMakeLists.txt b/CMakeLists.txt index 881b4e21b..173673d2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -285,7 +285,7 @@ else() endif() add_definitions(-D_FILE_OFFSET_BITS=64) -add_definitions(-DBOOST_DISABLE_EXCEPTION) +add_definitions(-DBOOST_EXCEPTION_DISABLE) add_definitions(-DBOOST_ASIO_ENABLE_CANCELIO) if (tcmalloc)