projects/aports·blob master · refs

11 lines · 492 B

1--- ./linux/CMakeLists.txt.orig
2+++ ./linux/CMakeLists.txt
3@@ -41,7 +41,7 @@
4 # of modifying this function.
5 function(APPLY_STANDARD_SETTINGS TARGET)
6 target_compile_features(${TARGET} PUBLIC cxx_std_14)
7- target_compile_options(${TARGET} PRIVATE -Wall -Werror)
8+ target_compile_options(${TARGET} PRIVATE -Wall)
9 target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
10 target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
11 endfunction()