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

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

sync with github

File size: 609 bytes
Line 
1calamares_add_plugin( shellprocess
2    TYPE job
3    EXPORT_MACRO PLUGINDLLEXPORT_PRO
4    SOURCES
5        ShellProcessJob.cpp
6    LINK_PRIVATE_LIBRARIES
7        calamares
8    SHARED_LIB
9)
10
11if( ECM_FOUND )
12    find_package( Qt5 COMPONENTS Test REQUIRED )
13    include( ECMAddTests )
14
15    ecm_add_test(
16            Tests.cpp
17        TEST_NAME
18            shellprocesstest
19        LINK_LIBRARIES
20            ${CALAMARES_LIBRARIES}
21            calamaresui
22            ${YAMLCPP_LIBRARY}
23            Qt5::Core
24            Qt5::Test
25    )
26    set_target_properties( shellprocesstest PROPERTIES AUTOMOC TRUE )
27endif()
Note: See TracBrowser for help on using the repository browser.