cmake/modules/FindLIBOPENJPEG.cmake |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit f69f41056fc8cd8a70b38024f255e9074af20bdc
Author: Pino Toscano <p...@kde.org>
Date:   Tue Mar 20 15:18:33 2012 +0100

    cmake: reset CMAKE_REQUIRED_INCLUDES/CMAKE_REQUIRED_LIBRARIES

diff --git a/cmake/modules/FindLIBOPENJPEG.cmake 
b/cmake/modules/FindLIBOPENJPEG.cmake
index ab1721d..d9c1369 100644
--- a/cmake/modules/FindLIBOPENJPEG.cmake
+++ b/cmake/modules/FindLIBOPENJPEG.cmake
@@ -39,6 +39,9 @@ int main()
 }
 " WITH_OPENJPEG_IGNORE_PCLR_CMAP_CDEF_FLAG)
 
+  set(CMAKE_REQUIRED_INCLUDES)
+  set(CMAKE_REQUIRED_LIBRARIES)
+
     set(LIBOPENJPEG_FOUND TRUE)
   endif(LIBOPENJPEG_INCLUDE_DIR AND LIBOPENJPEG_LIBRARIES)
 
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to