03e621f4a2
- do not link (explicitly) to Calamares libraries, the CMake functions do that automatically. - while here, tidy and remove commented-out-bits - while here, remove unneeded includes
22 lines
450 B
CMake
22 lines
450 B
CMake
# === This file is part of Calamares - <https://calamares.io> ===
|
|
#
|
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
calamares_add_plugin( machineid
|
|
TYPE job
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
SOURCES
|
|
MachineIdJob.cpp
|
|
Workers.cpp
|
|
SHARED_LIB
|
|
)
|
|
|
|
calamares_add_test(
|
|
machineidtest
|
|
SOURCES
|
|
Tests.cpp
|
|
MachineIdJob.cpp
|
|
Workers.cpp
|
|
)
|