Cycles OSL: windows build fixes.

This commit is contained in:
Brecht Van Lommel
2012-11-14 17:18:47 +00:00
parent 8c6350f926
commit 71389d4d74
4 changed files with 21 additions and 15 deletions

View File

@@ -622,10 +622,10 @@ elseif(WIN32)
if(WITH_OPENIMAGEIO)
if(NOT MINGW)
set(OIIOBIN ${LIBDIR}/openimageio)
set(OIIOBIN ${LIBDIR}/openimageio/bin)
install(
FILES
${OIIOBIN}/bin/OpenImageIO.dll
${OIIOBIN}/OpenImageIO.dll
DESTINATION ${TARGETDIR}
)
endif()
@@ -648,6 +648,20 @@ elseif(WIN32)
endif()
endif()
if(WITH_CYCLES AND WITH_CYCLES_OSL)
if(NOT MINGW)
set(OSLBIN ${LIBDIR}/osl/bin)
install(
FILES
${OSLBIN}/oslexec.dll
${OSLBIN}/oslquery.dll
${OSLBIN}/oslcomp.dll
DESTINATION ${TARGETDIR}
)
endif()
endif()
elseif(APPLE)
# handy install macro to exclude files, we use \$ escape for the "to"