Link with dbghelp when memory-leak detection is enabled

This commit is contained in:
David Capello 2015-05-20 16:24:26 -03:00
parent f683c50198
commit 621c4bb05d

View File

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