From a051173f76919cf3cc09eda4b7b2a35ef6a2084e Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Wed, 12 Jun 2019 23:32:07 +0200 Subject: [PATCH] Only find PackageConfig on SFOS --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b82da6d64..be3445d30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,9 +8,8 @@ set(KDECONNECT_VERSION_PATCH 3) set(KDECONNECT_VERSION "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.${KDECONNECT_VERSION_PATCH}") -find_package(PkgConfig) - if (SAILFISHOS) + find_package(PkgConfig) set(KF5_MIN_VERSION "5.31.0") set(QT_MIN_VERSION "5.6.0") set(KF5_REQUIRED_COMPONENTS I18n DBusAddons CoreAddons IconThemes Config)