mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-29 19:48:23 +02:00
12 lines
492 B
Diff
12 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()
|