Cycles OSL: windows build system changes to support static OSL/OIIO.

This commit is contained in:
Brecht Van Lommel
2012-11-15 17:16:27 +00:00
parent 1c9b548d92
commit 2324c80f50
7 changed files with 26 additions and 26 deletions

View File

@@ -700,7 +700,11 @@ macro(delayed_install
destination)
foreach(f ${files})
set_property(GLOBAL APPEND PROPERTY DELAYED_INSTALL_FILES ${base}/${f})
if(IS_ABSOLUTE ${f})
set_property(GLOBAL APPEND PROPERTY DELAYED_INSTALL_FILES ${f})
else()
set_property(GLOBAL APPEND PROPERTY DELAYED_INSTALL_FILES ${base}/${f})
endif()
set_property(GLOBAL APPEND PROPERTY DELAYED_INSTALL_DESTINATIONS ${destination})
endforeach()
endmacro()