Skip to content

Commit cad2054

Browse files
committed
fix rive build on linux.
see rive-app/rive-flutter#482
1 parent c0a8865 commit cad2054

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

linux/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ endif ()
4343
function(APPLY_STANDARD_SETTINGS TARGET)
4444
target_compile_features(${TARGET} PUBLIC cxx_std_14)
4545

46-
# Roland:
47-
# Workaround for https://github.com/wger-project/flutter/issues/577 / https://github.com/rive-app/rive-flutter/issues/390
46+
# Workarounds for:
47+
# * https://github.com/wger-project/flutter/issues/577 / https://github.com/rive-app/rive-flutter/issues/390
48+
# * https://github.com/rive-app/rive-flutter/issues/482
4849
#target_compile_options(${TARGET} PRIVATE -Wall -Werror) -- original options
49-
target_compile_options(${TARGET} PRIVATE -Wall -Werror -Wno-unused-variable -Wno-unused-function)
50-
50+
target_compile_options(${TARGET} PRIVATE -Wall -Werror -Wno-error=nontrivial-memcall -Wno-unused-variable -Wno-unused-function)
5151
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
5252
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
5353
endfunction()

0 commit comments

Comments
 (0)