From 393531cbe88be83f8bf6062a0c9199983d584546 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Thu, 28 Aug 2025 13:28:05 +0200 Subject: [PATCH] Use correct error codes --- linux/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index 8bb8abbb..f75ee17e 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -47,7 +47,7 @@ function(APPLY_STANDARD_SETTINGS TARGET) # * https://github.com/wger-project/flutter/issues/577 / https://github.com/rive-app/rive-flutter/issues/390 # * https://github.com/rive-app/rive-flutter/issues/482 #target_compile_options(${TARGET} PRIVATE -Wall -Werror) -- original options - target_compile_options(${TARGET} PRIVATE -Wall -Werror -Wno-error=nontrivial-memcall -Wno-unused-variable -Wno-unused-function) + target_compile_options(${TARGET} PRIVATE -Wall -Werror -Wno-error=nontrivial-memaccess -Wno-unused-variable -Wno-unused-function) target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") endfunction()