diff --git a/cmake/CompilerOptions.cmake b/cmake/CompilerOptions.cmake index bdba2f82..a25843ec 100644 --- a/cmake/CompilerOptions.cmake +++ b/cmake/CompilerOptions.cmake @@ -126,8 +126,4 @@ if( CMAKE_CXX_COMPILER_ID MATCHES "GNU" ) # Extra warning flags for GCC 7.0+ target_compile_options( ${LIB_TARGET} PRIVATE -Wduplicated-branches -Wrestrict ) endif() - if ( CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 14.0 ) - # Extra warning flags for GCC 14.0+ - target_compile_options( ${LIB_TARGET} PRIVATE -Wnrvo ) - endif() endif() \ No newline at end of file