msvc: Use debug versions of tbb malloc for debug builds

Using the release versions gave unpredictable results when
the msvc debugger was attached for some developers.
This commit is contained in:
Ray Molenkamp
2019-11-17 14:26:29 -07:00
parent 67fa8d2307
commit 6d9d24e3d4
2 changed files with 10 additions and 0 deletions

View File

@@ -818,6 +818,14 @@ elseif(WIN32)
${LIBDIR}/tbb/lib/tbbmalloc.dll
${LIBDIR}/tbb/lib/tbbmalloc_proxy.dll
DESTINATION "."
CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel
)
install(
FILES
${LIBDIR}/tbb/lib/debug/tbbmalloc.dll
${LIBDIR}/tbb/lib/debug/tbbmalloc_proxy.dll
DESTINATION "."
CONFIGURATIONS Debug
)
endif()