mirror of https://github.com/AxioDL/logvisor.git
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…
Reference in New Issue