[poppler] cmake/modules

Pino Toscano pino at kemper.freedesktop.org
Tue Mar 20 07:19:58 PDT 2012


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

New commits:
commit f69f41056fc8cd8a70b38024f255e9074af20bdc
Author: Pino Toscano <pino at 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)
 


More information about the poppler mailing list