diff options
Diffstat (limited to 'intern/cycles/scene/CMakeLists.txt')
-rw-r--r-- | intern/cycles/scene/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/intern/cycles/scene/CMakeLists.txt b/intern/cycles/scene/CMakeLists.txt index ddb7ff6f906..4904bf247ba 100644 --- a/intern/cycles/scene/CMakeLists.txt +++ b/intern/cycles/scene/CMakeLists.txt @@ -108,14 +108,13 @@ endif() if(WITH_OPENCOLORIO) add_definitions(-DWITH_OCIO) - include_directories( - SYSTEM + list(APPEND INC_SYS ${OPENCOLORIO_INCLUDE_DIRS} ) list(APPEND LIB ${OPENCOLORIO_LIBRARIES} ) - if(WIN32) + if(WIN32 AND NOT USD_OVERRIDE_OPENCOLORIO) add_definitions(-DOpenColorIO_SKIP_IMPORTS) endif() endif() |