Only find PackageConfig on SFOS

This commit is contained in:
Nicolas Fella 2019-06-12 23:32:07 +02:00
parent 8507771d75
commit a051173f76

View file

@ -8,9 +8,8 @@ set(KDECONNECT_VERSION_PATCH 3)
set(KDECONNECT_VERSION "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.${KDECONNECT_VERSION_PATCH}") set(KDECONNECT_VERSION "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.${KDECONNECT_VERSION_PATCH}")
find_package(PkgConfig)
if (SAILFISHOS) if (SAILFISHOS)
find_package(PkgConfig)
set(KF5_MIN_VERSION "5.31.0") set(KF5_MIN_VERSION "5.31.0")
set(QT_MIN_VERSION "5.6.0") set(QT_MIN_VERSION "5.6.0")
set(KF5_REQUIRED_COMPONENTS I18n DBusAddons CoreAddons IconThemes Config) set(KF5_REQUIRED_COMPONENTS I18n DBusAddons CoreAddons IconThemes Config)