diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-11-18 00:26:29 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-11-18 00:26:29 +0300 |
commit | 6d9d24e3d4592a628e56fc10b177af63336474c4 (patch) | |
tree | be870614c94e784672868a683e2d1e368b031ffe /source/creator/CMakeLists.txt | |
parent | 67fa8d2307a6b41c5bbbbfc79f96af6135c360fe (diff) |
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.
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r-- | source/creator/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 0f8cfee795f..6e2d9acec32 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -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() |