[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-poppler
Subject:    [poppler] CMakeLists.txt
From:       GitLab Mirror <gitlab-mirror () kemper ! freedesktop ! org>
Date:       2020-06-02 10:52:26
Message-ID: 20200602105226.468A17610B () kemper ! freedesktop ! org
[Download RAW message or body]

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

New commits:
commit bf7e84cc2399969cc6a98bbcc689a90e20095f39
Author: Hannah von Reth <vonreth@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}
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic