From 478168c8410ae663228f39d6bb8dfaafeac67eca Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 20 Mar 2019 18:16:54 +0100 Subject: [PATCH] [fsresizer] Make sure KPMCore version definitions are consistent - Duplicate setting from partition module to fsresizer --- src/modules/fsresizer/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/fsresizer/CMakeLists.txt b/src/modules/fsresizer/CMakeLists.txt index e339b2799..12349c835 100644 --- a/src/modules/fsresizer/CMakeLists.txt +++ b/src/modules/fsresizer/CMakeLists.txt @@ -6,6 +6,10 @@ if ( KPMcore_FOUND ) include_directories( ${KPMCORE_INCLUDE_DIR} ) include_directories( ${PROJECT_BINARY_DIR}/src/libcalamares ) + if ( KPMcore_VERSION VERSION_GREATER "3.3.0") + add_definitions(-DWITH_KPMCOREGT33) # kpmcore greater than 3.3 + endif() + # The PartitionIterator is a small class, and it's easiest -- but also a # gross hack -- to just compile it again from the partition module tree. calamares_add_plugin( fsresizer