CMake: Fix compilation on Windows with MSVC

This commit is contained in:
Vladimir Golovnev (Glassez)
2019-08-02 15:17:36 +03:00
parent 7d636d8c3f
commit 3093751fa4
2 changed files with 2 additions and 1 deletions

View File

@@ -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)