diff options
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r-- | source/creator/CMakeLists.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 0229079c13c..3356091b97f 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -301,6 +301,15 @@ if(WITH_INTERNATIONAL) ) endif() +# color management +if(WITH_OPENCOLORIO) + install( + DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/colormanagement + DESTINATION ${TARGETDIR_VER}/datafiles + PATTERN ".svn" EXCLUDE + ) +endif() + # helpful tip when using make if("${CMAKE_GENERATOR}" MATCHES ".*Makefiles.*") # message after building. @@ -636,6 +645,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" @@ -907,6 +927,7 @@ endif() cycles_util cycles_subd bf_intern_raskter + bf_intern_opencolorio ) if(WITH_COMPOSITOR) |