qt, cpp: Fix expected targets in Config files

* lang/cpp/src/GpgmeppConfig.cmake.in.in,
lang/qt/src/QGpgmeConfig.cmake.in.in: Remove KF5 variants.
This commit is contained in:
Andre Heinecke 2016-10-13 09:07:36 +02:00
parent 5f64018af8
commit a3cf30f894
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
set(_targetsDefined) set(_targetsDefined)
set(_targetsNotDefined) set(_targetsNotDefined)
set(_expectedTargets) set(_expectedTargets)
foreach(_expectedTarget KF5::Gpgmepp Gpgmepp) foreach(_expectedTarget Gpgmepp)
list(APPEND _expectedTargets ${_expectedTarget}) list(APPEND _expectedTargets ${_expectedTarget})
if(NOT TARGET ${_expectedTarget}) if(NOT TARGET ${_expectedTarget})
list(APPEND _targetsNotDefined ${_expectedTarget}) list(APPEND _targetsNotDefined ${_expectedTarget})

View File

@ -37,7 +37,7 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
set(_targetsDefined) set(_targetsDefined)
set(_targetsNotDefined) set(_targetsNotDefined)
set(_expectedTargets) set(_expectedTargets)
foreach(_expectedTarget QGpgme KF5::QGpgme) foreach(_expectedTarget QGpgme)
list(APPEND _expectedTargets ${_expectedTarget}) list(APPEND _expectedTargets ${_expectedTarget})
if(NOT TARGET ${_expectedTarget}) if(NOT TARGET ${_expectedTarget})
list(APPEND _targetsNotDefined ${_expectedTarget}) list(APPEND _targetsNotDefined ${_expectedTarget})