[poppler] cmake/modules
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Dec 11 15:14:24 PST 2008
cmake/modules/FindLIBOPENJPEG.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 401632e4eeb4b10b1183a820f32461da77e8e4f2
Author: Albert Astals Cid <aacid at kde.org>
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)
More information about the poppler
mailing list