diff --git a/CMakeLists.txt b/CMakeLists.txt index d6848928..ab5fe356 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY) set(warnings "-Wno-deprecated-declarations -Wall -Wextra -Wpedantic") if (APPLE) - set(warnings "${warnings} -Werror-Wno-extended-offsetof") + set(warnings "${warnings} -Werror=extended-offsetof") endif(APPLE) set(CMAKE_CXX_FLAGS ${warnings})