Skip to content

Commit 276209d

Browse files
gnpricechrisbobbe
authored andcommitted
linux build: Disable a warning that url_launcher_linux can trigger
This works around the following issue in url_launcher_linux: flutter/flutter#153083 The issue only appears on some hosts, namely those with "older versions of glib".
1 parent 0fdc7f2 commit 276209d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ endif()
4141
# of modifying this function.
4242
function(APPLY_STANDARD_SETTINGS TARGET)
4343
target_compile_features(${TARGET} PUBLIC cxx_std_14)
44-
target_compile_options(${TARGET} PRIVATE -Wall -Werror)
44+
target_compile_options(${TARGET} PRIVATE -Wall -Werror -Wno-unused-function)
4545
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
4646
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
4747
endfunction()

0 commit comments

Comments
 (0)