diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e46275..b505ec5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -788,7 +788,6 @@ if(NOT MSVC) # Details at http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1459 string(APPEND CMAKE_CXX_FLAGS " -Wall") string(APPEND CMAKE_CXX_FLAGS " -Wextra") - string(APPEND CMAKE_CXX_FLAGS " -Werror=return-type") string(APPEND CMAKE_CXX_FLAGS " -Wno-missing-field-initializers") string(APPEND CMAKE_CXX_FLAGS " -Wno-type-limits") string(APPEND CMAKE_CXX_FLAGS " -Wno-array-bounds")