mirror of https://github.com/cutefishos/calamares
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
487 B
CMake
25 lines
487 B
CMake
calamares_add_plugin( machineid
|
|
TYPE job
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
SOURCES
|
|
MachineIdJob.cpp
|
|
Workers.cpp
|
|
LINK_PRIVATE_LIBRARIES
|
|
calamares
|
|
SHARED_LIB
|
|
)
|
|
|
|
if ( ECM_FOUND AND BUILD_TESTING )
|
|
ecm_add_test(
|
|
Tests.cpp
|
|
Workers.cpp
|
|
TEST_NAME
|
|
machineidtest
|
|
LINK_LIBRARIES
|
|
calamares
|
|
Qt5::Core
|
|
Qt5::Test
|
|
)
|
|
calamares_automoc( machineidtest )
|
|
endif()
|