Ticket #52328: patch-find-openexr.diff
File patch-find-openexr.diff, 821 bytes (added by mkae (Marko Käning), 8 years ago) |
---|
-
OpenCVFindOpenEXR.cmake
old new 21 21 SET(OPENEXR_LIBSEARCH_SUFFIXES Win32/Release Win32 Win32/Debug) 22 22 endif() 23 23 else() 24 set(OPENEXR_ROOT " ")24 set(OPENEXR_ROOT "@PREFIX@") 25 25 endif() 26 26 27 27 SET(LIBRARY_PATHS 28 /usr/lib 29 /usr/local/lib 30 /sw/lib 31 /opt/local/lib 32 "${ProgramFiles_ENV_PATH}/OpenEXR/lib/static" 28 @PREFIX@/lib 33 29 "${OPENEXR_ROOT}/lib") 34 30 35 31 FIND_PATH(OPENEXR_INCLUDE_PATH ImfRgbaFile.h 36 32 PATH_SUFFIXES OpenEXR 37 33 PATHS 38 /usr/include 39 /usr/local/include 40 /sw/include 41 /opt/local/include 42 "${ProgramFiles_ENV_PATH}/OpenEXR/include" 34 @PREFIX@/include 43 35 "${OPENEXR_ROOT}/include") 44 36 45 37 FIND_LIBRARY(OPENEXR_HALF_LIBRARY