source: calamares/trunk/fuentes/src/modules/interactiveterminal/CMakeLists.txt @ 7538

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

sync with github

File size: 842 bytes
Line 
1find_package(ECM ${ECM_VERSION} REQUIRED NO_MODULE)
2
3set( kf5_ver 5.41 )
4
5find_package( KF5Service ${kf5_ver} )
6find_package( KF5Parts ${kf5_ver} )
7set_package_properties(
8    KF5Service PROPERTIES
9    PURPOSE "For finding KDE services at runtime"
10)
11set_package_properties(
12    KF5Parts PROPERTIES
13    PURPOSE "For finding KDE parts at runtime"
14)
15
16if ( KF5Parts_FOUND AND KF5Service_FOUND )
17    calamares_add_plugin( interactiveterminal
18        TYPE viewmodule
19        EXPORT_MACRO PLUGINDLLEXPORT_PRO
20        SOURCES
21            InteractiveTerminalViewStep.cpp
22            InteractiveTerminalPage.cpp
23        LINK_PRIVATE_LIBRARIES
24            calamaresui
25        LINK_LIBRARIES
26            KF5::Service
27            KF5::Parts
28        SHARED_LIB
29    )
30else()
31    calamares_skip_module( "interactiveterminal (missing requirements)" )
32endif()
Note: See TracBrowser for help on using the repository browser.