[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50220] branches/soc-2011-tomato/ build_files/cmake/Modules/FindOpenColorIO.cmake: Color Management: correction to previous commit
Sergey Sharybin
sergey.vfx at gmail.com
Sun Aug 26 15:18:43 CEST 2012
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})
More information about the Bf-blender-cvs
mailing list