From 97a85fe1000b727e0b6c04e0978e22d986125358 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Jun 2011 02:54:56 +0000 Subject: - add example for python rna property update - edit the copyright for blender specific cmake find modules --- build_files/cmake/Modules/FindOpenEXR.cmake | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'build_files/cmake/Modules/FindOpenEXR.cmake') diff --git a/build_files/cmake/Modules/FindOpenEXR.cmake b/build_files/cmake/Modules/FindOpenEXR.cmake index 4dc2d5d31de..546f690dbf6 100644 --- a/build_files/cmake/Modules/FindOpenEXR.cmake +++ b/build_files/cmake/Modules/FindOpenEXR.cmake @@ -19,7 +19,7 @@ # OPENEXR_LIBRARY, where to find the OpenEXR library. #============================================================================= -# Copyright 2002-2009 Kitware, Inc. +# Copyright 2011 Blender Foundation. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. @@ -28,8 +28,6 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. #============================================================================= -# (To distribute this file outside of CMake, substitute the full -# License text for the above reference.) # If OPENEXR_ROOT_DIR was defined in the environment, use it. IF(NOT OPENEXR_ROOT_DIR AND NOT $ENV{OPENEXR_ROOT_DIR} STREQUAL "") @@ -52,7 +50,9 @@ SET(_openexr_SEARCH_DIRS /opt/csw # Blastwave ) -FIND_PATH(OPENEXR_INCLUDE_DIR ImfXdr.h +FIND_PATH(OPENEXR_INCLUDE_DIR + NAMES + ImfXdr.h HINTS ${_openexr_SEARCH_DIRS} PATH_SUFFIXES @@ -64,10 +64,13 @@ FOREACH(COMPONENT ${_openexr_FIND_COMPONENTS}) STRING(TOUPPER ${COMPONENT} UPPERCOMPONENT) FIND_LIBRARY(OPENEXR_${UPPERCOMPONENT}_LIBRARY - NAMES ${COMPONENT} - HINTS ${_openexr_SEARCH_DIRS} - PATH_SUFFIXES lib64 lib - ) + NAMES + ${COMPONENT} + HINTS + ${_openexr_SEARCH_DIRS} + PATH_SUFFIXES + lib64 lib + ) LIST(APPEND _openexr_LIBRARIES "${OPENEXR_${UPPERCOMPONENT}_LIBRARY}") ENDFOREACH() -- cgit v1.2.3