svn merge ^/trunk/blender -r48415:48469
[blender.git] / source / creator / CMakeLists.txt
index d9ac43d7622e0e4445f9e4ede462d933c79c378f..14305721f859d4f4fe08c264e4da2ff6a07bee93 100644 (file)
@@ -395,6 +395,13 @@ if(UNIX AND NOT APPLE)
                )
        endif()
 
+       if(WITH_OPENCOLORIO)
+               install(
+                       DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/colormanagement
+                       DESTINATION ${TARGETDIR_VER}/datafiles
+               )
+       endif()
+
        if(WITH_PYTHON)
                if(WITH_PYTHON_INSTALL)
                        # on some platforms (like openSUSE) Python is linked
@@ -625,6 +632,17 @@ elseif(WIN32)
                endif()
        endif()
 
+       if(WITH_OPENCOLORIO)
+               if(NOT MINGW)
+                       set_lib_path(OCIOBIN "opencolorio/bin")
+                       install(
+                               FILES
+                                       ${OCIOBIN}/OpenColorIO.dll
+                               DESTINATION ${TARGETDIR}
+                       )
+               endif()
+       endif()
+
 elseif(APPLE)
 
        # handy install macro to exclude files, we use \$ escape for the "to"
@@ -895,6 +913,7 @@ endif()
                cycles_util
                cycles_subd
                bf_intern_raskter
+               bf_intern_opencolorio
        )
 
        if(WITH_COMPOSITOR)