Windows: Enable python debugging in Visual Studio.
[blender.git] / build_files / cmake / macros.cmake
index d6ddb26e293d439a4607aef418432db68695a70f..e2af3667f2a0c2cf6540a39e6e53f4741413aaca 100644 (file)
@@ -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()