diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 58daacd..651b722 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -17,20 +17,22 @@ install(FILES pmcorebackendplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR}) +#if(LINUX) +# option(PARTMAN_LIBPARTEDBACKEND "Build the libparted backend plugin." ON) + +# if (PARTMAN_LIBPARTEDBACKEND) +# add_subdirectory(libparted) +# endif (PARTMAN_LIBPARTEDBACKEND) +#endif(LINUX) + if(LINUX) - option(PARTMAN_LIBPARTEDBACKEND "Build the libparted backend plugin." ON) + option(PARTMAN_SFDISKBACKEND "Build the sfdisk backend plugin." ON) - if (PARTMAN_LIBPARTEDBACKEND) - add_subdirectory(libparted) - endif (PARTMAN_LIBPARTEDBACKEND) + if (PARTMAN_SFDISKBACKEND) + add_subdirectory(sfdisk) + endif (PARTMAN_SFDISKBACKEND) endif(LINUX) -option(PARTMAN_SFDISKBACKEND "Build the sfdisk backend plugin." ON) - -if (PARTMAN_SFDISKBACKEND) - add_subdirectory(sfdisk) -endif (PARTMAN_SFDISKBACKEND) - option(PARTMAN_DUMMYBACKEND "Build the dummy backend plugin." ON) if (PARTMAN_DUMMYBACKEND)