Skip to content

Commit

Permalink
fix: xcode-llvm breakage on new GHA runner images (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus authored Jun 25, 2024
1 parent 11b9eaf commit 84f5f87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion third_party/mini_chromium/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ else()
endif()

if(APPLE)
target_compile_options(mini_chromium PUBLIC -fobjc-arc -fno-objc-arc-exceptions)
target_compile_options(mini_chromium
PUBLIC "-fobjc-arc" "-fno-objc-arc-exceptions"
PRIVATE "-Wno-deprecated-declarations"
)
endif()
if(APPLE AND NOT IOS)
target_link_libraries(mini_chromium PUBLIC
Expand Down
2 changes: 2 additions & 0 deletions util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@ if(APPLE)
"-framework UIKit"
)
endif()

target_compile_options(crashpad_util PRIVATE "-Wno-deprecated-declarations")
endif()

if(LINUX)
Expand Down

0 comments on commit 84f5f87

Please sign in to comment.