[Bf-blender-cvs] [77964b2efb8] blender2.8: Fix Cycles standalone build issue with OpenColorIO.
Brecht Van Lommel
noreply at git.blender.org
Tue Jul 10 17:59:06 CEST 2018
Commit: 77964b2efb859e27caf48dab5b7a3e0707291c89
Author: Brecht Van Lommel
Date: Mon Jul 9 16:25:22 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB77964b2efb859e27caf48dab5b7a3e0707291c89
Fix Cycles standalone build issue with OpenColorIO.
===================================================================
M intern/cycles/app/CMakeLists.txt
===================================================================
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(
More information about the Bf-blender-cvs
mailing list