Enable OpenColorIO for MinGW64 build targets

This commit is contained in:
Antony Riakiotakis
2012-09-16 18:05:32 +00:00
parent e5d0dcb8d8
commit 237a9fde92
3 changed files with 17 additions and 4 deletions

View File

@@ -646,13 +646,19 @@ elseif(WIN32)
endif()
if(WITH_OPENCOLORIO)
set_lib_path(OCIOBIN "opencolorio/bin")
if(NOT MINGW)
set_lib_path(OCIOBIN "opencolorio/bin")
install(
FILES
${OCIOBIN}/OpenColorIO.dll
DESTINATION ${TARGETDIR}
)
else()
install(
FILES
${OCIOBIN}/libOpenColorIO.dll
DESTINATION ${TARGETDIR}
)
endif()
endif()