diff --git a/CMakeLists.txt b/CMakeLists.txt index 8daf0b179..248e497f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -505,6 +505,9 @@ set(USED_SOURCES ${ENGINE_SOURCES} ${AUDIO_SOURCES} src/main.cpp) if (USE_BACKWARD) list(APPEND USED_SOURCES src/backtrace.cpp) + if (WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + list(APPEND DEPENDENCIES_LIBRARIES dbghelp msvcr90) + endif() endif() if (BUILD_GUI)