diff --git a/src/base/CMakeLists.txt b/src/base/CMakeLists.txt index 133428467..25e0d1115 100644 --- a/src/base/CMakeLists.txt +++ b/src/base/CMakeLists.txt @@ -84,3 +84,7 @@ if(WIN32) endif() add_library(base-lib ${BASE_SOURCES}) + +if(ENABLE_MEMLEAK AND MSVC) + target_link_libraries(base-lib dbghelp) +endif()