diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index bfd11e76da..263c457cd7 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -206,6 +206,8 @@ if (MSVC) else() target_compile_options(common PRIVATE -Werror + + $<$:-fsized-deallocation> ) endif()