diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-16 06:55:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-16 06:55:26 +0400 |
commit | 2e8ca6d1965bdcaaab672561aa2deddaf6b8f8b3 (patch) | |
tree | 61bdbf1e1bccd3e7490ddb5fb4493c27094d7bfd /build_files/cmake | |
parent | 0575c05eb0294fa25f97da9fe1186b6ad8b2313d (diff) |
include some extra search paths for cmake openexr
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/Modules/FindOpenEXR.cmake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build_files/cmake/Modules/FindOpenEXR.cmake b/build_files/cmake/Modules/FindOpenEXR.cmake index a445a906696..9a116973348 100644 --- a/build_files/cmake/Modules/FindOpenEXR.cmake +++ b/build_files/cmake/Modules/FindOpenEXR.cmake @@ -1,4 +1,4 @@ -# - Find OpenEXR library (copied from FindTIFF.cmake, v 2.8.5) +# - Find OpenEXR library # Find the native OpenEXR includes and library # This module defines # OPENEXR_INCLUDE_DIRS, where to find ImfXdr.h, etc. Set when @@ -47,7 +47,9 @@ SET(_openexr_FIND_COMPONENTS SET(_openexr_SEARCH_DIRS ${OPENEXR_ROOT_DIR} /usr/local - /opt/csw + /sw # Fink + /opt/local # DarwinPorts + /opt/csw # Blastwave ) FIND_PATH(OPENEXR_INCLUDE_DIR ImfXdr.h @@ -63,7 +65,7 @@ FOREACH(COMPONENT ${_openexr_FIND_COMPONENTS}) FIND_LIBRARY(OPENEXR_${UPPERCOMPONENT}_LIBRARY NAMES ${COMPONENT} HINTS ${_openexr_SEARCH_DIRS} - PATH_SUFFIXES lib + PATH_SUFFIXES lib64 lib ) LIST(APPEND _openexr_LIBRARIES "${OPENEXR_${UPPERCOMPONENT}_LIBRARY}") ENDFOREACH() |