25 lines
1.0 KiB
Diff
25 lines
1.0 KiB
Diff
|
diff -Nru librepo-1.17.0.orig/CMakeLists.txt librepo-1.17.0/CMakeLists.txt
|
||
|
--- librepo-1.17.0.orig/CMakeLists.txt 2024-02-08 09:39:02.000000000 +0100
|
||
|
+++ librepo-1.17.0/CMakeLists.txt 2024-02-08 14:30:16.989931649 +0100
|
||
|
@@ -37,7 +37,7 @@
|
||
|
FIND_PACKAGE(CURL 7.52.0 REQUIRED)
|
||
|
|
||
|
IF (USE_GPGME)
|
||
|
- FIND_PACKAGE(Gpgme REQUIRED)
|
||
|
+ PKG_SEARCH_MODULE(GPGME REQUIRED gpgme)
|
||
|
IF (ENABLE_SELINUX)
|
||
|
PKG_CHECK_MODULES(SELINUX REQUIRED libselinux)
|
||
|
ENDIF(ENABLE_SELINUX)
|
||
|
diff -Nru librepo-1.17.0.orig/librepo/CMakeLists.txt librepo-1.17.0/librepo/CMakeLists.txt
|
||
|
--- librepo-1.17.0.orig/librepo/CMakeLists.txt 2024-02-08 09:39:02.000000000 +0100
|
||
|
+++ librepo-1.17.0/librepo/CMakeLists.txt 2024-02-08 14:30:36.775970283 +0100
|
||
|
@@ -70,7 +70,7 @@
|
||
|
${GLIB2_LIBRARIES}
|
||
|
)
|
||
|
IF (USE_GPGME)
|
||
|
- TARGET_LINK_LIBRARIES(librepo ${GPGME_VANILLA_LIBRARIES})
|
||
|
+ TARGET_LINK_LIBRARIES(librepo ${GPGME_LIBRARIES})
|
||
|
IF (ENABLE_SELINUX)
|
||
|
TARGET_LINK_LIBRARIES(librepo ${SELINUX_LIBRARIES})
|
||
|
ENDIF(ENABLE_SELINUX)
|