mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-14 03:12:41 +03:00
0e655b4f9a
The mistake was made by commit 7712d0ada0
21 lines
588 B
CMake
21 lines
588 B
CMake
if (STACKTRACE)
|
|
if ("${WINXXBITS}" STREQUAL "Win64")
|
|
add_compile_options(-Zi)
|
|
else ("${WINXXBITS}" STREQUAL "Win64")
|
|
# i686 arch requires frame pointer preservation
|
|
add_compile_options(-Oy-)
|
|
endif ("${WINXXBITS}" STREQUAL "Win64")
|
|
link_libraries(dbghelp.lib)
|
|
endif (STACKTRACE)
|
|
|
|
# Enable Wide characters
|
|
add_definitions(-DTORRENT_USE_WPATH)
|
|
|
|
if (NOT QT5)
|
|
# Qt4 does not detect it itself
|
|
add_definitions(-DQ_COMPILER_INITIALIZER_LISTS)
|
|
endif (NOT QT5)
|
|
|
|
include(MacroConfigureMSVCRuntime)
|
|
set(MSVC_RUNTIME "dynamic")
|
|
configure_msvc_runtime()
|