2014-07-03 18:00:40 +02:00
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
2017-07-11 12:21:16 +02:00
|
|
|
|
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
|
|
|
|
2018-01-13 21:26:31 +01:00
|
|
|
find_package( LIBPARTED )
|
|
|
|
if ( LIBPARTED_FOUND )
|
|
|
|
set( PARTMAN_SRC checker/partman_devices.c )
|
|
|
|
set( CHECKER_LINK_LIBRARIES ${LIBPARTED_LIBRARY} )
|
|
|
|
else()
|
|
|
|
set( PARTMAN_SRC )
|
|
|
|
set( CHECKER_LINK_LIBRARIES )
|
|
|
|
add_definitions( -DWITHOUT_LIBPARTED )
|
|
|
|
endif()
|
|
|
|
|
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
|
2017-12-02 15:56:03 +01:00
|
|
|
checker/CheckerContainer.cpp
|
2019-02-26 12:05:34 +01:00
|
|
|
checker/ResultWidget.cpp
|
|
|
|
checker/ResultsListWidget.cpp
|
2019-02-23 18:29:59 +01:00
|
|
|
checker/GeneralRequirements.cpp
|
2018-01-13 21:26:31 +01:00
|
|
|
${PARTMAN_SRC}
|
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}
|
2019-04-18 14:27:37 +02:00
|
|
|
LocaleModel.cpp
|
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}
|
2018-01-13 21:26:31 +01:00
|
|
|
Qt5::DBus
|
|
|
|
Qt5::Network
|
2014-06-11 13:37:10 +02:00
|
|
|
SHARED_LIB
|
|
|
|
)
|