diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-10-22 19:17:08 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-10-22 19:17:08 +0300 |
commit | 86dbbd156fafccea7bfcf3207c8486fb2098b341 (patch) | |
tree | 5deb8e1d31ff164f0bb13caf092d62ed895688fc /build_files/cmake/macros.cmake | |
parent | 32d66889e992a82f3e56c0d43b06c0f4a89a08f7 (diff) |
Windows: Enable python debugging in Visual Studio.
see D3817 for technical details, and https://wiki.blender.org/wiki/Tools/Debugging/Python_Visual_Studio for a end user quick-start guide.
Differential Revision: https://developer.blender.org/D3817
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r-- | build_files/cmake/macros.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index d6ddb26e293..e2af3667f2a 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -1195,7 +1195,11 @@ function(delayed_do_install foreach(i RANGE ${n}) list(GET files ${i} f) list(GET destinations ${i} d) - install(FILES ${f} DESTINATION ${targetdir}/${d}) + if(NOT IS_ABSOLUTE ${d}) + install(FILES ${f} DESTINATION ${targetdir}/${d}) + else() + install(FILES ${f} DESTINATION ${d}) + endif() endforeach() endif() endfunction() |