Add cmake option for sfdisk backend.

This commit is contained in:
Andrius Štikonas 2018-01-31 16:03:51 +00:00
parent ba4e443223
commit 67f79f42dd
1 changed files with 6 additions and 2 deletions

View File

@ -23,10 +23,14 @@ if (PARTMAN_LIBPARTEDBACKEND)
add_subdirectory(libparted) add_subdirectory(libparted)
endif (PARTMAN_LIBPARTEDBACKEND) endif (PARTMAN_LIBPARTEDBACKEND)
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) option(PARTMAN_DUMMYBACKEND "Build the dummy backend plugin." ON)
if (PARTMAN_DUMMYBACKEND) if (PARTMAN_DUMMYBACKEND)
add_subdirectory(dummy) add_subdirectory(dummy)
endif (PARTMAN_DUMMYBACKEND) endif (PARTMAN_DUMMYBACKEND)
add_subdirectory(sfdisk)