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

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

sync with github

File size: 693 bytes
Line 
1calamares_add_plugin( contextualprocess
2    TYPE job
3    EXPORT_MACRO PLUGINDLLEXPORT_PRO
4    SOURCES
5        ContextualProcessJob.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            ContextualProcessJob.cpp  # Builds it a second time
18        TEST_NAME
19            contextualprocesstest
20        LINK_LIBRARIES
21            ${CALAMARES_LIBRARIES}
22            calamaresui
23            ${YAMLCPP_LIBRARY}
24            Qt5::Core
25            Qt5::Test
26    )
27    set_target_properties( contextualprocesstest PROPERTIES AUTOMOC TRUE )
28endif()
Note: See TracBrowser for help on using the repository browser.