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

New commits:
commit e816c7a47caa0c3f5261d467333f8c2eb6a2ad51
Author: Albert Astals Cid <[email protected]>
Date:   Thu Oct 5 18:51:49 2017 +0200

    FindLIBOPENJPEG.cmake: Add CheckCXXSourceCompiles
    
    Since we use check_cxx_source_compiles

diff --git a/cmake/modules/FindLIBOPENJPEG.cmake 
b/cmake/modules/FindLIBOPENJPEG.cmake
index 8a49193b..e2fccf30 100644
--- a/cmake/modules/FindLIBOPENJPEG.cmake
+++ b/cmake/modules/FindLIBOPENJPEG.cmake
@@ -35,6 +35,8 @@ else (LIBOPENJPEG_LIBRARIES AND LIBOPENJPEG_INCLUDE_DIR)
     find_library(LIBOPENJPEG_LIBRARIES openjpeg)
     if(LIBOPENJPEG_INCLUDE_DIR AND LIBOPENJPEG_LIBRARIES)
 
+      include(CheckCXXSourceCompiles)
+
       set(CMAKE_REQUIRED_INCLUDES ${LIBOPENJPEG_INCLUDE_DIR})
       set(CMAKE_REQUIRED_LIBRARIES ${LIBOPENJPEG_LIBRARIES})
 
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to