File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
third_party/mini_chromium Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,14 @@ if(LINUX)
154154 )
155155endif ()
156156
157+ if (APPLE )
158+ target_compile_options (crashpad_interface INTERFACE
159+ "-fobjc-arc"
160+ "-fno-objc-arc-exceptions"
161+ "-Wno-deprecated-declarations"
162+ )
163+ endif ()
164+
157165add_library (crashpad::interface ALIAS crashpad_interface)
158166
159167add_subdirectory (compat)
Original file line number Diff line number Diff line change @@ -145,12 +145,6 @@ else()
145145 )
146146endif ()
147147
148- if (APPLE )
149- target_compile_options (mini_chromium
150- PUBLIC "-fobjc-arc" "-fno-objc-arc-exceptions"
151- PRIVATE "-Wno-deprecated-declarations"
152- )
153- endif ()
154148if (APPLE AND NOT IOS)
155149 target_link_libraries (mini_chromium PUBLIC
156150 "-framework ApplicationServices"
Original file line number Diff line number Diff line change @@ -529,8 +529,6 @@ if(APPLE)
529529 "-framework UIKit"
530530 )
531531 endif ()
532-
533- target_compile_options (crashpad_util PRIVATE "-Wno-deprecated-declarations" )
534532endif ()
535533
536534if (LINUX)
You can’t perform that action at this time.
0 commit comments