[poppler] CMakeLists.txt

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 2 10:52:26 UTC 2020


 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bf7e84cc2399969cc6a98bbcc689a90e20095f39
Author: Hannah von Reth <vonreth at kde.org>
Date:   Tue Jun 2 12:46:44 2020 +0200

    Use a more modern way to use curl

diff --git a/CMakeLists.txt b/CMakeLists.txt
index abdd13fa..0838bf91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -454,7 +454,7 @@ if(ENABLE_LIBCURL)
     poppler/CurlCachedFile.cc
     poppler/CurlPDFDocBuilder.cc
   )
-  set(poppler_LIBS ${poppler_LIBS} ${CURL_LIBRARIES})
+  set(poppler_LIBS ${poppler_LIBS} CURL::libcurl)
 endif()
 if (ENABLE_NSS3)
   set(poppler_SRCS ${poppler_SRCS}


More information about the poppler mailing list