diff --git a/CMakeLists.txt b/CMakeLists.txt index e7d89565..8fe4e9eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,10 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) +# This warning has a false positive. See +# . +add_compile_options(-Wno-error=free-nonheap-object) + # If we're building with clang, then use the libc++ version of the standard # library instead of libstdc++. Better coverage of build configurations. #