|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
find_package( Qt5 COMPONENTS Test REQUIRED )
|
|
|
|
|
find_package( Qt5 COMPONENTS Gui Test REQUIRED )
|
|
|
|
|
find_package( KF5 COMPONENTS Service REQUIRED )
|
|
|
|
|
|
|
|
|
|
include( ECMAddTests )
|
|
|
|
|
|
|
|
|
|
set( PartitionModule_SOURCE_DIR .. )
|
|
|
|
@ -18,8 +20,10 @@ set( partitionjobtests_SRCS
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
|
${Qt5Gui_INCLUDE_DIRS}
|
|
|
|
|
${PartitionModule_SOURCE_DIR}
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
ecm_add_test( ${partitionjobtests_SRCS}
|
|
|
|
@ -29,6 +33,7 @@ ecm_add_test( ${partitionjobtests_SRCS}
|
|
|
|
|
${CALAMARES_LIBRARIES}
|
|
|
|
|
Qt5::Core
|
|
|
|
|
Qt5::Test
|
|
|
|
|
KF5::Service
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set_target_properties( partitionjobtests PROPERTIES AUTOMOC TRUE )
|
|
|
|
|