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
35 lines
730 B
CMake
35 lines
730 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( netinstall
|
|
TYPE viewmodule
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
SOURCES
|
|
Config.cpp
|
|
LoaderQueue.cpp
|
|
NetInstallViewStep.cpp
|
|
NetInstallPage.cpp
|
|
PackageTreeItem.cpp
|
|
PackageModel.cpp
|
|
UI
|
|
page_netinst.ui
|
|
LINK_PRIVATE_LIBRARIES
|
|
Qt5::Network
|
|
SHARED_LIB
|
|
)
|
|
|
|
calamares_add_test(
|
|
netinstalltest
|
|
SOURCES
|
|
Tests.cpp
|
|
Config.cpp
|
|
LoaderQueue.cpp
|
|
PackageTreeItem.cpp
|
|
PackageModel.cpp
|
|
LIBRARIES
|
|
Qt5::Gui
|
|
)
|
|
|