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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-09 17:25:22 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-10 18:48:48 +0300
commit77964b2efb859e27caf48dab5b7a3e0707291c89 (patch)
treeb10f0b12ee6c8322b3c8feb47fd81050e7b7c0ba /intern/cycles/app
parent2574ee3d3878c8a78fb2ff1955b10ed20f0ad892 (diff)
Fix Cycles standalone build issue with OpenColorIO.
Diffstat (limited to 'intern/cycles/app')
-rw-r--r--intern/cycles/app/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt
index cfca45600a5..936da0075fe 100644
--- a/intern/cycles/app/CMakeLists.txt
+++ b/intern/cycles/app/CMakeLists.txt
@@ -60,6 +60,10 @@ link_directories(${OPENIMAGEIO_LIBPATH}
${TIFF_LIBPATH}
${OPENEXR_LIBPATH})
+if(WITH_OPENCOLORIO)
+ link_directories(${OPENCOLORIO_LIBPATH})
+endif()
+
add_definitions(${GL_DEFINITIONS})
include_directories(${INC})
@@ -81,7 +85,6 @@ macro(cycles_target_link_libraries target)
target_link_libraries(${target} ${OPENSUBDIV_LIBRARIES})
endif()
if(WITH_OPENCOLORIO)
- link_directories(${OPENCOLORIO_LIBPATH})
target_link_libraries(${target} ${OPENCOLORIO_LIBRARIES})
endif()
target_link_libraries(