Fix Remove libkysdk-system error
This commit is contained in:
parent
5cc4c4b72f
commit
f48c7bb28b
|
@ -4,9 +4,9 @@ project(ukui-polkit-agent)
|
||||||
pkg_check_modules(QGS REQUIRED gsettings-qt)
|
pkg_check_modules(QGS REQUIRED gsettings-qt)
|
||||||
#pkg_search_module(GSETTINGS_QT REQUIRED gsettings-qt)
|
#pkg_search_module(GSETTINGS_QT REQUIRED gsettings-qt)
|
||||||
|
|
||||||
pkg_check_modules(KDKINFO REQUIRED kysdk-sysinfo)
|
pkg_check_modules(KDKINFO kysdk-sysinfo)
|
||||||
if (KDKINFO_FOUND)
|
if (KDKINFO_FOUND)
|
||||||
add_definitions(-DKEKINFO_FOUND="true")
|
ADD_DEFINITIONS(-DKDKINFO_FOUND="true")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#pkg_search_module(KDKINFO REQUIRED kysdk-sysinfo)
|
#pkg_search_module(KDKINFO REQUIRED kysdk-sysinfo)
|
||||||
|
|
|
@ -35,7 +35,10 @@
|
||||||
#include "PolkitListener.h"
|
#include "PolkitListener.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
|
#ifdef KDK_INFOFOUND
|
||||||
#include <libkysysinfo.h>
|
#include <libkysysinfo.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
PolkitListener::PolkitListener(QObject *parent)
|
PolkitListener::PolkitListener(QObject *parent)
|
||||||
: Listener(parent),
|
: Listener(parent),
|
||||||
|
|
Loading…
Reference in New Issue