aports/testing/polycule/no-werror.patch
The one with the braid 0dc9ebf1b0 testing/polycule: new aport
Co-authored-by: jane400 <alpine@j4ne.de>
Signed-off-by: The one with the braid <info@braid.business>
2024-10-05 21:40:18 +00:00

11 lines
492 B
Diff

--- ./linux/CMakeLists.txt.orig
+++ ./linux/CMakeLists.txt
@@ -44,7 +44,7 @@
# of modifying this function.
function(APPLY_STANDARD_SETTINGS TARGET)
target_compile_features(${TARGET} PUBLIC cxx_std_14)
- target_compile_options(${TARGET} PRIVATE -Wall -Werror)
+ target_compile_options(${TARGET} PRIVATE -Wall)
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
endfunction()