mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
CMake: Fix Windows build
This commit is contained in:
parent
c65c40a5cb
commit
6bfa4370b7
3 changed files with 13 additions and 17 deletions
|
@ -1,12 +1,3 @@
|
|||
if (STACKTRACE)
|
||||
if (NOT "${WINXXBITS}" STREQUAL "Win64")
|
||||
# i686 arch requires frame pointer preservation
|
||||
add_compile_options(-Oy-)
|
||||
endif (NOT "${WINXXBITS}" STREQUAL "Win64")
|
||||
add_compile_options(-Zi)
|
||||
link_libraries(dbghelp -DEBUG)
|
||||
endif (STACKTRACE)
|
||||
|
||||
include(MacroConfigureMSVCRuntime)
|
||||
set(MSVC_RUNTIME "dynamic")
|
||||
configure_msvc_runtime()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue