[fsresizer] Make dependency on partition module more explicit

main
Adriaan de Groot 6 years ago
parent a482d7be44
commit 16ff8b0767

@ -6,8 +6,7 @@ if ( KPMcore_FOUND )
find_package( Qt5 REQUIRED DBus ) # Needed for KPMCore
find_package( KF5 REQUIRED I18n WidgetsAddons ) # Needed for KPMCore
include_directories( ${KPMCORE_INCLUDE_DIR} )
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamares )
include_directories( ${KPMCORE_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/src/modules/partition )
if ( KPMcore_VERSION VERSION_GREATER "3.3.0")
list( APPEND _partition_defs WITH_KPMCORE331API) # kpmcore > 3.3.0 with deprecations

@ -37,7 +37,8 @@
#include "utils/Units.h"
#include "utils/Variant.h"
#include "modules/partition/core/PartitionIterator.h"
// From partition module
#include "core/PartitionIterator.h"
static const NamedEnumTable<ResizeFSJob::RelativeUnit>&

Loading…
Cancel
Save