File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 7474 if : matrix.os == 'ubuntu-latest'
7575 run : |
7676 sudo apt-get update
77- sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
77+ sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libc++-dev libc++abi-dev
7878
7979 - name : Enable Linux desktop
8080 if : matrix.os == 'ubuntu-latest'
Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ 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-
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 ()
4952endfunction ()
5053
5154# Flutter library and tool build rules.
You can’t perform that action at this time.
0 commit comments