qt: Fix check for required files

* lang/qt/src/QGpgmeConfig-w32.cmake.in.in: Fix typos in variable names.
--

Because of those typos the loop over the files to check was an empty
loops and therefore the wrong name of the DLL was never noticed.
This commit is contained in:
Ingo Klöcker 2023-07-08 20:54:14 +02:00
parent 546d3a982d
commit ad34fcbbec
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9

View File

@ -68,8 +68,8 @@ set_target_properties(QGpgme PROPERTIES
IMPORTED_LOCATION "@resolved_libdir@/libqgpgme-7.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_TARGETS QGpgme )
list(APPEND _IMPORT_CHECK_FILES_FOR_QGpgme "@resolved_libdir@/libqgpgme.dll.a" "@resolved_bindir@/libqgpgme-7.dll" )
if(CMAKE_VERSION VERSION_LESS 2.8.12)
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")