Edit

IABSD.fr/ports/print/poppler/patches/patch-utils_CMakeLists_txt

Branch :

  • Show log

    Commit

  • Author : kili
    Date : 2024-03-25 20:50:32
    Hash : 161e4387
    Message : Update to poppler-24.03.0.

  • print/poppler/patches/patch-utils_CMakeLists_txt
  • For utils/pdftocairo, move common_libs to the front to avoid picking
    up any already installed older version of libpoppler.so.
    
    Index: utils/CMakeLists.txt
    --- utils/CMakeLists.txt.orig
    +++ utils/CMakeLists.txt
    @@ -38,7 +38,7 @@ if (HAVE_CAIRO)
       )
       add_definitions(${CAIRO_CFLAGS})
       add_executable(pdftocairo ${pdftocairo_SOURCES})
    -  target_link_libraries(pdftocairo ${CAIRO_LIBRARIES} Freetype::Freetype ${common_libs})
    +  target_link_libraries(pdftocairo ${common_libs} ${CAIRO_LIBRARIES} Freetype::Freetype)
       target_include_directories(pdftocairo SYSTEM PRIVATE ${CAIRO_INCLUDE_DIRS})
       if(LCMS2_FOUND)
         target_link_libraries(pdftocairo ${LCMS2_LIBRARIES})