ad2edf4f82
Welcome is only interested in checking partitions, not in resizing them, so stick to one library. This will become moot when the checks move to partitionmanager and KPMCore can do the things.
34 lines
773 B
CMake
34 lines
773 B
CMake
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
|
|
|
find_package( LIBPARTED REQUIRED )
|
|
find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED DBus Network )
|
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
|
|
|
set( CHECKER_SOURCES
|
|
checker/CheckItemWidget.cpp
|
|
checker/CheckerWidget.cpp
|
|
checker/RequirementsChecker.cpp
|
|
checker/partman_devices.c
|
|
)
|
|
set( CHECKER_LINK_LIBRARIES
|
|
${LIBPARTED_LIBRARY}
|
|
Qt5::DBus
|
|
Qt5::Network
|
|
)
|
|
|
|
calamares_add_plugin( welcome
|
|
TYPE viewmodule
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
SOURCES
|
|
${CHECKER_SOURCES}
|
|
WelcomeViewStep.cpp
|
|
WelcomePage.cpp
|
|
UI
|
|
WelcomePage.ui
|
|
LINK_PRIVATE_LIBRARIES
|
|
calamaresui
|
|
${CHECKER_LINK_LIBRARIES}
|
|
SHARED_LIB
|
|
)
|