CMakeLists.txt |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 7a8bcea11ad71fccbbba2787fc442f6ba4bf7100
Author: Pino Toscano <[email protected]>
Date:   Thu Jan 23 22:34:07 2014 +0100

    cmake: install JpegWriter.h depending on libjpeg
    
    ... and not libopenjpeg

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 297cc95..cc0195d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -535,6 +535,11 @@ if(ENABLE_XPDF_HEADERS)
       goo/TiffWriter.h
       DESTINATION include/poppler/goo)
   endif(TIFF_FOUND)
+  if(JPEG_FOUND)
+    install(FILES
+      goo/JpegWriter.h
+      DESTINATION include/poppler/goo)
+  endif(JPEG_FOUND)
   install(FILES
     fofi/FoFiBase.h
     fofi/FoFiEncodings.h
@@ -553,9 +558,6 @@ if(ENABLE_XPDF_HEADERS)
     install(FILES
       poppler/JPEG2000Stream.h
       DESTINATION include/poppler)
-    install(FILES
-      goo/JpegWriter.h
-      DESTINATION include/poppler/goo)
   else(LIBOPENJPEG_FOUND)
     install(FILES
       poppler/JPXStream.h
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to