[poppler] Branch 'poppler-0.18' - cmake/modules
Pino Toscano
pino at kemper.freedesktop.org
Tue Mar 20 07:20:38 PDT 2012
cmake/modules/FindLIBOPENJPEG.cmake | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 6d61f363293a82cb983d937bfe6cd1021b70365b
Author: Pino Toscano <pino at kde.org>
Date: Tue Mar 20 15:18:33 2012 +0100
cmake: reset CMAKE_REQUIRED_INCLUDES/CMAKE_REQUIRED_LIBRARIES
(cherry picked from commit f69f41056fc8cd8a70b38024f255e9074af20bdc)
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