source: calamares/trunk/fuentes/CMakeModules/IncludeKPMCore.cmake @ 7538

Last change on this file since 7538 was 7538, checked in by kbut, 17 months ago

sync with github

File size: 605 bytes
Line 
1# Shared CMake core for finding KPMCore
2#
3# This is wrapped into a CMake include file because there's a bunch of
4# pre-requisites that need searching for before looking for KPMCore.
5# If you just do find_package( KPMCore ) without finding the things
6# it links against first, you get CMake errors.
7#
8#
9find_package(ECM 5.10.0 REQUIRED NO_MODULE)
10set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
11
12include(KDEInstallDirs)
13include(GenerateExportHeader)
14find_package( KF5 REQUIRED CoreAddons )
15find_package( KF5 REQUIRED Config I18n Service WidgetsAddons )
16
17find_package( KPMcore 3.2 REQUIRED )
Note: See TracBrowser for help on using the repository browser.