mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-28 02:13:40 +03:00
CMake: Fix compilation on Windows with MSVC
This commit is contained in:
parent
7d636d8c3f
commit
3093751fa4
2 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@ if (STACKTRACE)
|
|||
add_compile_options(-Oy-)
|
||||
endif (NOT "${WINXXBITS}" STREQUAL "Win64")
|
||||
add_compile_options(-Zi)
|
||||
link_libraries(dbghelp.lib /DEBUG)
|
||||
link_libraries(dbghelp -DEBUG)
|
||||
endif (STACKTRACE)
|
||||
|
||||
include(MacroConfigureMSVCRuntime)
|
||||
|
|
|
@ -30,6 +30,7 @@ add_definitions(-DUNICODE
|
|||
-D_CRT_SECURE_NO_DEPRECATE
|
||||
-D_SCL_SECURE_NO_DEPRECATE
|
||||
-DNOMINMAX
|
||||
-DBOOST_ALL_NO_LIB
|
||||
)
|
||||
|
||||
# Enable if libtorrent was built with this flag defined
|
||||
|
|
Loading…
Add table
Reference in a new issue