Skip to content

Commit 8437aba

Browse files
committed
Fix(Linux): remove -stdlib=libc++ to fix CI build error
1 parent 9edbe6a commit 8437aba

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

example/linux/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ function(APPLY_STANDARD_SETTINGS TARGET)
4545
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
4646
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
4747

48-
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
49-
target_compile_options(${TARGET} PRIVATE -stdlib=libc++)
50-
target_link_options(${TARGET} PRIVATE -stdlib=libc++)
51-
endif()
48+
5249
endfunction()
5350

5451
# Flutter library and tool build rules.

0 commit comments

Comments
 (0)