Warning, /system/plasma-pk-updates/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.0)
0002 
0003 project(plasma-pk-updates VERSION 0.3.2)
0004 add_definitions(-DPROJECT_VERSION="\\\"${PROJECT_VERSION}\\\"")
0005 
0006 find_package(ECM 1.3.0 REQUIRED NO_MODULE)
0007 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
0008 set(CMAKE_AUTOMOC ON)
0009 
0010 include(KDEInstallDirs)
0011 include(KDECMakeSettings)
0012 include(KDECompilerSettings)
0013 include(ECMInstallIcons)
0014 include(FeatureSummary)
0015 
0016 find_package(Qt5 REQUIRED
0017     Core
0018     Gui
0019     Widgets
0020     Quick
0021     DBus
0022 )
0023 
0024 find_package(KF5 REQUIRED
0025     Plasma
0026     I18n
0027     CoreAddons # KFormat
0028     Notifications
0029     Solid # Solid::Power
0030 )
0031 
0032 find_package(packagekitqt5 REQUIRED)
0033 
0034 add_definitions(
0035     -DQT_USE_FAST_CONCATENATION
0036     -DQT_USE_FAST_OPERATOR_PLUS
0037     -DQT_STRICT_ITERATORS
0038     -DCMAKE_SOURCE_DIR="${CMAKE_SOURCE_DIR}"
0039 )
0040 
0041 if(CMAKE_COMPILER_IS_GNUCXX)
0042   # more aggressive warnings and C++11 support
0043   SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
0044 endif()
0045 
0046 
0047 add_subdirectory(src)
0048 
0049 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)