Do not build libparted backend.

This commit is contained in:
Andrius Štikonas 2018-02-04 16:14:59 +00:00
parent 2641730c0c
commit 11e435657a
1 changed files with 12 additions and 10 deletions

View File

@ -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)