[PATCH gpgme] qt: Fix DLL version in cmake config files

nathbappai at gmail.com nathbappai at gmail.com
Sat Jul 8 07:14:44 CEST 2023


From: Biswapriyo Nath <nathbappai at gmail.com>

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
 lang/qt/src/QGpgmeConfig-w32.cmake.in.in    | 4 ++--
 lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lang/qt/src/QGpgmeConfig-w32.cmake.in.in b/lang/qt/src/QGpgmeConfig-w32.cmake.in.in
index b897805..a58b940 100644
--- a/lang/qt/src/QGpgmeConfig-w32.cmake.in.in
+++ b/lang/qt/src/QGpgmeConfig-w32.cmake.in.in
@@ -65,11 +65,11 @@ set_target_properties(QGpgme PROPERTIES
   IMPORTED_IMPLIB_RELEASE "@resolved_libdir@/libqgpgme.dll.a"
   INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/qgpgme;@resolved_includedir@"
   INTERFACE_LINK_LIBRARIES "Gpgmepp;Qt5::Core"
-  IMPORTED_LOCATION "@resolved_libdir@/libqgpgme-7.dll"
+  IMPORTED_LOCATION "@resolved_libdir@/libqgpgme-15.dll"
 )
 
 list(APPEND _IMPORT_CHECK_TARGETS QGgpme )
-list(APPEND _IMPORT_CHECK_FILES_FOR_Qgpgme "@resolved_libdir@/libqgpgme.dll.a" "@resolved_bindir@/libqgpgme-7.dll" )
+list(APPEND _IMPORT_CHECK_FILES_FOR_Qgpgme "@resolved_libdir@/libqgpgme.dll.a" "@resolved_bindir@/libqgpgme-15.dll" )
 
 if(CMAKE_VERSION VERSION_LESS 2.8.12)
   message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
diff --git a/lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in b/lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in
index 6cb8af4..8e61f35 100644
--- a/lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in
+++ b/lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in
@@ -65,11 +65,11 @@ set_target_properties(QGpgmeQt6 PROPERTIES
   IMPORTED_IMPLIB_RELEASE "@resolved_libdir@/libqgpgmeqt6.dll.a"
   INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/qgpgme;@resolved_includedir@"
   INTERFACE_LINK_LIBRARIES "Gpgmepp;Qt6::Core"
-  IMPORTED_LOCATION "@resolved_libdir@/libqgpgmeqt6-7.dll"
+  IMPORTED_LOCATION "@resolved_libdir@/libqgpgmeqt6-15.dll"
 )
 
 list(APPEND _IMPORT_CHECK_TARGETS QGpgmeQt6 )
-list(APPEND _IMPORT_CHECK_FILES_FOR_QGpgmeQt6 "@resolved_libdir@/libqgpgmeqt6.dll.a" "@resolved_bindir@/libqgpgmeqt6-7.dll" )
+list(APPEND _IMPORT_CHECK_FILES_FOR_QGpgmeQt6 "@resolved_libdir@/libqgpgmeqt6.dll.a" "@resolved_bindir@/libqgpgmeqt6-15.dll" )
 
 if(CMAKE_VERSION VERSION_LESS 2.8.12)
   message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
-- 
2.41.0




More information about the Gnupg-devel mailing list