[finishedq] Tighten up requirements
This commit is contained in:
parent
e9384deb5d
commit
83e6476be8
@ -8,13 +8,11 @@ if( NOT WITH_QML )
|
|||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED DBus Network )
|
find_package( Qt5 ${QT_VERSION} CONFIG DBus Network )
|
||||||
|
if ( NOT TARGET Qt5::DBus OR NOT TARGET Qt5::Network )
|
||||||
find_package( KF5Plasma CONFIG)
|
calamares_skip_module( "finishedq (missing DBus or Network)" )
|
||||||
set_package_properties(KF5Plasma PROPERTIES
|
return()
|
||||||
DESCRIPTION "Used for running commands in QML"
|
endif()
|
||||||
TYPE RUNTIME
|
|
||||||
)
|
|
||||||
|
|
||||||
set( _finished ${CMAKE_CURRENT_SOURCE_DIR}/../finished )
|
set( _finished ${CMAKE_CURRENT_SOURCE_DIR}/../finished )
|
||||||
include_directories( ${_finished} )
|
include_directories( ${_finished} )
|
||||||
|
Loading…
Reference in New Issue
Block a user