mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-06-06 22:53:32 +00:00
Fix compiling crashpad on Windows
This commit is contained in:
parent
aac06c3465
commit
fd343eb234
@ -35,6 +35,15 @@ else()
|
||||
else ()
|
||||
set(BREAKPAD_CLIENT "")
|
||||
endif ()
|
||||
if (MSVC)
|
||||
target_compile_options(crashpad_client PRIVATE "/W0")
|
||||
target_compile_options(crashpad_util PRIVATE "/W0")
|
||||
target_compile_options(crashpad_snapshot PRIVATE "/W0")
|
||||
target_compile_options(mini_chromium PRIVATE "/W0")
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
target_compile_options(crashpad_zlib PRIVATE "-mpclmul")
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
target_link_libraries(logvisor PUBLIC fmt ${SENTRY_LIB})
|
||||
|
Loading…
x
Reference in New Issue
Block a user