mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08:00
13 lines
371 B
CMake
13 lines
371 B
CMake
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()
|