2014-07-03 18:00:40 +02:00
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
2017-07-11 12:21:16 +02:00
|
|
|
|
2015-05-14 18:00:26 +02:00
|
|
|
find_package( LIBPARTED REQUIRED )
|
2016-11-05 22:11:57 +01:00
|
|
|
find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED DBus Network )
|
2015-05-14 18:00:26 +02:00
|
|
|
|
2017-07-05 17:08:41 +02:00
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
|
|
|
|
2015-05-14 18:00:26 +02:00
|
|
|
set( CHECKER_SOURCES
|
|
|
|
checker/CheckItemWidget.cpp
|
|
|
|
checker/CheckerWidget.cpp
|
|
|
|
checker/RequirementsChecker.cpp
|
|
|
|
checker/partman_devices.c
|
|
|
|
)
|
|
|
|
set( CHECKER_LINK_LIBRARIES
|
2017-10-24 18:50:50 +02:00
|
|
|
${LIBPARTED_LIBRARY}
|
2015-05-14 18:00:26 +02:00
|
|
|
Qt5::DBus
|
2016-11-05 22:11:57 +01:00
|
|
|
Qt5::Network
|
2015-05-14 18:00:26 +02:00
|
|
|
)
|
|
|
|
|
2015-05-13 12:44:11 +02:00
|
|
|
calamares_add_plugin( welcome
|
2014-06-24 12:41:58 +02:00
|
|
|
TYPE viewmodule
|
2014-06-11 13:37:10 +02:00
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
SOURCES
|
2015-05-14 18:00:26 +02:00
|
|
|
${CHECKER_SOURCES}
|
2015-05-13 12:44:11 +02:00
|
|
|
WelcomeViewStep.cpp
|
|
|
|
WelcomePage.cpp
|
2014-06-11 13:37:10 +02:00
|
|
|
UI
|
2015-05-13 12:44:11 +02:00
|
|
|
WelcomePage.ui
|
2016-12-07 16:37:29 +01:00
|
|
|
LINK_PRIVATE_LIBRARIES
|
2014-07-03 18:00:40 +02:00
|
|
|
calamaresui
|
2015-05-14 18:00:26 +02:00
|
|
|
${CHECKER_LINK_LIBRARIES}
|
2014-06-11 13:37:10 +02:00
|
|
|
SHARED_LIB
|
|
|
|
)
|