[poppler] cmake/modules

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Oct 5 16:53:02 UTC 2017


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

New commits:
commit e816c7a47caa0c3f5261d467333f8c2eb6a2ad51
Author: Albert Astals Cid <aacid at kde.org>
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})
 


More information about the poppler mailing list