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.txt48
1 files changed, 25 insertions, 23 deletions
diff --git a/intern/opencolorio/CMakeLists.txt b/intern/opencolorio/CMakeLists.txt
index 479bbd3ab0a..d46b09cf76a 100644
--- a/intern/opencolorio/CMakeLists.txt
+++ b/intern/opencolorio/CMakeLists.txt
@@ -23,40 +23,42 @@
#
# ***** END GPL LICENSE BLOCK *****
+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)
- set(INC
- .
+ add_definitions(
+ -DWITH_OCIO
+ )
+
+ list(APPEND INC_SYS
${OPENCOLORIO_INCLUDE_DIRS}
)
- set(SRC
- ocio_capi.cpp
- ocio_capi.h
+ list(APPEND SRC
+ ocio_impl.cc
)
if(WIN32 AND NOT MINGW)
- list(APPEND INC
+ list(APPEND INC_SYS
${BOOST_INCLUDE_DIR}
)
endif()
-else()
- set(INC
- .
- ../../source/blender/blenlib
- )
-
- set(SRC
- ocio_capi_stub.cpp
- ocio_capi.h
- )
endif()
-set(INC_SYS
- ../guardedalloc
-)
-
-add_definitions(
-)
blender_add_lib(bf_intern_opencolorio "${SRC}" "${INC}" "${INC_SYS}")
-