Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/opencolorio/CMakeLists.txt')
-rw-r--r--intern/opencolorio/CMakeLists.txt31
1 files changed, 15 insertions, 16 deletions
diff --git a/intern/opencolorio/CMakeLists.txt b/intern/opencolorio/CMakeLists.txt
index 9f5d4cd332c..fb74d5e3f4e 100644
--- a/intern/opencolorio/CMakeLists.txt
+++ b/intern/opencolorio/CMakeLists.txt
@@ -26,41 +26,40 @@
set(INC
.
../guardedalloc
+ ../../source/blender/blenlib
)
set(INC_SYS
)
+set(SRC
+ ocio_capi.cc
+ fallback_impl.cc
+
+ ocio_capi.h
+ ocio_impl.h
+)
if(WITH_OPENCOLORIO)
+ add_definitions(
+ -DWITH_OCIO
+ )
list(APPEND INC_SYS
${OPENCOLORIO_INCLUDE_DIRS}
)
+ list(APPEND SRC
+ ocio_impl.cc
+ )
+
if(WIN32 AND NOT MINGW)
list(APPEND INC_SYS
${BOOST_INCLUDE_DIR}
)
endif()
-
- set(SRC
- ocio_capi.cpp
- ocio_capi.h
- )
-else()
- list(APPEND INC
- ../../source/blender/blenlib
- )
-
- set(SRC
- ocio_capi_stub.cpp
- ocio_capi.h
- )
endif()
-add_definitions(
-)
blender_add_lib(bf_intern_opencolorio "${SRC}" "${INC}" "${INC_SYS}")