Revision: 50220
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50220
Author: nazgul
Date: 2012-08-26 13:18:43 +0000 (Sun, 26 Aug 2012)
Log Message:
-----------
Color Management: correction to previous commit
Modified Paths:
--------------
branches/soc-2011-tomato/build_files/cmake/Modules/FindOpenColorIO.cmake
Modified:
branches/soc-2011-tomato/build_files/cmake/Modules/FindOpenColorIO.cmake
===================================================================
--- branches/soc-2011-tomato/build_files/cmake/Modules/FindOpenColorIO.cmake
2012-08-26 12:21:25 UTC (rev 50219)
+++ branches/soc-2011-tomato/build_files/cmake/Modules/FindOpenColorIO.cmake
2012-08-26 13:18:43 UTC (rev 50220)
@@ -62,14 +62,16 @@
PATH_SUFFIXES
lib64 lib
)
- LIST(APPEND _opencolorio_LIBRARIES
"${OPENCOLORIO_${UPPERCOMPONENT}_LIBRARY}")
+ if(OPENCOLORIO_${UPPERCOMPONENT}_LIBRARY)
+ LIST(APPEND _opencolorio_LIBRARIES
"${OPENCOLORIO_${UPPERCOMPONENT}_LIBRARY}")
+ endif()
ENDFOREACH()
# handle the QUIETLY and REQUIRED arguments and set OPENCOLORIO_FOUND to TRUE
if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenColorIO DEFAULT_MSG
- OPENCOLORIO_LIBRARY OPENCOLORIO_INCLUDE_DIR)
+ _opencolorio_LIBRARIES OPENCOLORIO_INCLUDE_DIR)
IF(OPENCOLORIO_FOUND)
SET(OPENCOLORIO_LIBRARIES ${_opencolorio_LIBRARIES})
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs