|
|
@ -1,6 +1,4 @@
|
|
|
|
find_package( Qt5 COMPONENTS Gui Test REQUIRED )
|
|
|
|
find_package( Qt5 COMPONENTS Gui REQUIRED )
|
|
|
|
|
|
|
|
|
|
|
|
include( ECMAddTests )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set( PartitionModule_SOURCE_DIR .. )
|
|
|
|
set( PartitionModule_SOURCE_DIR .. )
|
|
|
|
|
|
|
|
|
|
|
@ -23,13 +21,15 @@ include_directories(
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
ecm_add_test( ${partitionjobtests_SRCS}
|
|
|
|
if( ECM_FOUND AND BUILD_TESTING )
|
|
|
|
TEST_NAME partitionjobtests
|
|
|
|
ecm_add_test( ${partitionjobtests_SRCS}
|
|
|
|
LINK_LIBRARIES
|
|
|
|
TEST_NAME partitionjobtests
|
|
|
|
${CALAMARES_LIBRARIES}
|
|
|
|
LINK_LIBRARIES
|
|
|
|
kpmcore
|
|
|
|
${CALAMARES_LIBRARIES}
|
|
|
|
Qt5::Core
|
|
|
|
kpmcore
|
|
|
|
Qt5::Test
|
|
|
|
Qt5::Core
|
|
|
|
)
|
|
|
|
Qt5::Test
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
set_target_properties( partitionjobtests PROPERTIES AUTOMOC TRUE )
|
|
|
|
set_target_properties( partitionjobtests PROPERTIES AUTOMOC TRUE )
|
|
|
|
|
|
|
|
endif()
|
|
|
|