diff options
Diffstat (limited to 'intern/opencolorio')
-rw-r--r-- | intern/opencolorio/CMakeLists.txt | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/intern/opencolorio/CMakeLists.txt b/intern/opencolorio/CMakeLists.txt index 479bbd3ab0a..9f5d4cd332c 100644 --- a/intern/opencolorio/CMakeLists.txt +++ b/intern/opencolorio/CMakeLists.txt @@ -23,25 +23,33 @@ # # ***** END GPL LICENSE BLOCK ***** +set(INC + . + ../guardedalloc +) + +set(INC_SYS +) + + if(WITH_OPENCOLORIO) - set(INC - . - ${OPENCOLORIO_INCLUDE_DIRS} - ) - set(SRC - ocio_capi.cpp - ocio_capi.h + list(APPEND INC_SYS + ${OPENCOLORIO_INCLUDE_DIRS} ) if(WIN32 AND NOT MINGW) - list(APPEND INC + list(APPEND INC_SYS ${BOOST_INCLUDE_DIR} ) endif() + + set(SRC + ocio_capi.cpp + ocio_capi.h + ) else() - set(INC - . + list(APPEND INC ../../source/blender/blenlib ) @@ -51,10 +59,6 @@ else() ) endif() -set(INC_SYS - ../guardedalloc -) - add_definitions( ) |