diff --git a/CMakeLists.txt b/CMakeLists.txt index 00b1498de24..515287c75d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,7 +154,7 @@ endif() # The following warnings are sorted by the "base" name (the part excluding the initial Wno or W). add_compile_options(-Wno-address-of-packed-member) add_compile_options(-Wcast-qual) -add_compile_options(-Wno-deprecated-copy) +add_compile_options(-Wdeprecated-copy) add_compile_options(-Wduplicated-cond) add_compile_options(-Wno-expansion-to-defined) add_compile_options(-Wformat=2)