Changeset 1394
- Timestamp:
- 06/20/08 06:32:55 (5 months ago)
- Location:
- trunk
- Files:
-
- 9 added
- 2 modified
-
. (modified) (4 props)
-
FindOpenEXR.cmake (modified) (1 diff)
-
src/openimagelib/plugins/bmp/CMakeLists.txt (added)
-
src/openimagelib/plugins/dds/CMakeLists.txt (added)
-
src/openimagelib/plugins/dpx/CMakeLists.txt (added)
-
src/openimagelib/plugins/exr/CMakeLists.txt (added)
-
src/openimagelib/plugins/hdr/CMakeLists.txt (added)
-
src/openimagelib/plugins/png/CMakeLists.txt (added)
-
src/openimagelib/plugins/psd/CMakeLists.txt (added)
-
src/openimagelib/plugins/sgi/CMakeLists.txt (added)
-
src/openimagelib/plugins/tga/CMakeLists.txt (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property bzr:revision-id:v3-trunk0
-
old new 15 15 1389 andrew@aehunter.net-20080619134857-7k2kawpsxgqb9ss6 16 16 1390 andrew@aehunter.net-20080619141046-tgdq69hsumw4x55z 17 1391 andrew@aehunter.net-20080620113224-d5thhgo782mw0rjo
-
- Property bzr:file-ids
-
old new 1 src/openimagelib/plugins/bmp/CMakeLists.txt cmakelists.txt-20080620054117-eojq7cb6mkwmdhrt-1 2 src/openimagelib/plugins/dds/CMakeLists.txt cmakelists.txt-20080620054316-rh0ne5gsqn1wu7x7-1 3 src/openimagelib/plugins/dpx/CMakeLists.txt cmakelists.txt-20080620053537-iis5yie2yksbjc7s-1 4 src/openimagelib/plugins/exr/CMakeLists.txt cmakelists.txt-20080620063034-pwotrghy7ty4d9he-1 5 src/openimagelib/plugins/hdr/CMakeLists.txt cmakelists.txt-20080620063336-38shdw7234ewciiz-1 6 src/openimagelib/plugins/png/CMakeLists.txt cmakelists.txt-20080620064009-bafahiyohvou2xsb-1 7 src/openimagelib/plugins/psd/CMakeLists.txt cmakelists.txt-20080620064324-vbvaeoaxtm8km7eg-1 8 src/openimagelib/plugins/sgi/CMakeLists.txt cmakelists.txt-20080620064519-tohfk8jnqisxmg2u-1 9 src/openimagelib/plugins/tga/CMakeLists.txt cmakelists.txt-20080620064801-7n6khilt26k2aif8-1
-
- Property bzr:ancestry:v3-trunk0
-
old new 15 15 andrew@aehunter.net-20080619134821-m149jig6bmpq41hx 16 16 andrew@aehunter.net-20080619141005-75220r6w2cvqbj8f 17 andrew@aehunter.net-20080620064802-8b2g4wfk32dn8mmz
-
- Property bzr:revision-info
-
old new 1 timestamp: 2008-06- 19 15:10:46.039000034+01001 timestamp: 2008-06-20 12:32:24.180000067 +0100 2 2 committer: Andrew Hunter <andrew@aehunter.net> 3 3 properties:
-
- Property bzr:revision-id:v3-trunk0
-
trunk/FindOpenEXR.cmake
r1381 r1394 11 11 12 12 13 if ( O PENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES )13 if ( OpenEXR_INCLUDE_DIR AND OpenEXR_LIBRARIES ) 14 14 # in cache already 15 15 SET(OpenEXR_FIND_QUIETLY TRUE) 16 endif ( O PENEXR_INCLUDE_DIR AND OPENEXR_LIBRARIES )16 endif ( OpenEXR_INCLUDE_DIR AND OpenEXR_LIBRARIES ) 17 17 18 18 # use pkg-config to get the directories and then use these values 19 19 # in the FIND_PATH() and FIND_LIBRARY() calls 20 20 if( NOT WIN32 ) 21 INCLUDE( UsePkgConfig)21 INCLUDE(FindPkgConfig) 22 22 23 PKGCONFIG(OpenEXR _OpenEXRIncDir _OpenEXRLinkDir _OpenEXRLinkFlags _OpenEXRCflags) 23 pkg_check_modules(OpenEXR OpenEXR ) 24 pkg_check_modules(IlmBase IlmBase) 24 25 25 SET(OPENEXR_DEFINITIONS ${_OpenEXRCflags}) 26 find_library ( OpenEXR_LIBRARIES NAMES IlmImf ) 27 find_library ( Iex_LIBRARIES NAMES Iex ) 28 find_library ( Half_LIBRARIES NAMES Half ) 29 find_library ( Imath_LIBRARIES NAMES Imath ) 30 find_library ( IlmThread_LIBRARIES NAMES IlmThread ) 31 32 set ( IlmBase_LIBRARIES ${Iex_LIBRARIES} ${Half_LIBRARUES} ${Imath_LIBRARIES} ${IlmThread_LIBRARIES} ) 33 34 set ( OpenEXR_INCLUDE_DIR ${OpenEXR_INCLUDE_DIR} ${IlmBase_INCLUDE_DIR} ) 35 set ( OpenEXR_LIBRARIES ${OpenEXR_LIBRARIES} ${IlmBase_LIBRARIES} ) 36 26 37 endif( NOT WIN32 ) 27 38 28 FIND_PATH(OPENEXR_INCLUDE_DIR NAMES OpenEXRConfig.h29 PATHS30 ${_OpenEXRIncDir}31 PATH_SUFFIXES OpenEXR32 )39 #FIND_PATH(OPENEXR_INCLUDE_DIR NAMES OpenEXRConfig.h 40 # PATHS 41 # ${_OpenEXRIncDir} 42 # PATH_SUFFIXES OpenEXR 43 #) 33 44 34 FIND_LIBRARY(OPENEXR_LIBRARIES NAMES IlmIlf35 PATHS36 ${_OpenEXRLinkDir}37 )45 #FIND_LIBRARY(OPENEXR_LIBRARIES NAMES IlmIlf 46 # PATHS 47 # ${_OpenEXRLinkDir} 48 #) 38 49 39 50 include(FindPackageHandleStandardArgs) 40 FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenEXR DEFAULT_MSG O PENEXR_INCLUDE_DIR OPENEXR_LIBRARIES )51 FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenEXR DEFAULT_MSG OpenEXR_INCLUDE_DIR OpenEXR_LIBRARIES ) 41 52 42 53 # show the OPENEXR_INCLUDE_DIR and OPENEXR_LIBRARIES variables only in the advanced view 43 MARK_AS_ADVANCED(O PENEXR_INCLUDE_DIR OPENEXR_LIBRARIES )54 MARK_AS_ADVANCED(OpenEXR_INCLUDE_DIR OpenEXR_LIBRARIES ) 44 55
