$OpenBSD: patch-utils_CMakeLists_txt,v 1.5 2021/03/09 20:33:48 kili Exp $

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
@@ -39,7 +39,7 @@ if (HAVE_CAIRO)
   )
   add_definitions(${CAIRO_CFLAGS})
   add_executable(pdftocairo ${pdftocairo_SOURCES})
-  target_link_libraries(pdftocairo ${CAIRO_LIBRARIES} ${FREETYPE_LIBRARIES} ${common_libs})
+  target_link_libraries(pdftocairo ${common_libs} ${CAIRO_LIBRARIES} ${FREETYPE_LIBRARIES})
   if(CMAKE_USE_PTHREADS_INIT)
     target_link_libraries(pdftocairo Threads::Threads)
   endif()
