cmake/modules/FindLIBOPENJPEG.cmake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 776617a897888e398b2466094de085f87f90f4cf
Author: Albert Astals Cid <[email protected]>
Date:   Fri Dec 12 00:14:04 2008 +0100

    Try harder to look for openjpeg

diff --git a/cmake/modules/FindLIBOPENJPEG.cmake 
b/cmake/modules/FindLIBOPENJPEG.cmake
index 973aa16..978ee7d 100644
--- a/cmake/modules/FindLIBOPENJPEG.cmake
+++ b/cmake/modules/FindLIBOPENJPEG.cmake
@@ -23,7 +23,7 @@ else (LIBOPENJPEG_LIBRARIES AND LIBOPENJPEG_INCLUDE_DIR)
   set(LIBOPENJPEG_LIBRARIES)
   set(LIBOPENJPEG_INCLUDE_DIR)
 
-  find_path (LIBOPENJPEG_INCLUDE_DIR openjpeg.h)
+  find_path (LIBOPENJPEG_INCLUDE_DIR openjpeg.h PATH_SUFFIXES openjpeg)
   find_library(LIBOPENJPEG_LIBRARIES openjpeg)
   if(LIBOPENJPEG_INCLUDE_DIR AND LIBOPENJPEG_LIBRARIES)
     set(LIBOPENJPEG_FOUND TRUE)
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to