Do not expose libparted backend on non Linux systems.
This commit is contained in:
parent
f2b7f2bd9b
commit
7e60df68bd
|
@ -17,11 +17,13 @@
|
||||||
|
|
||||||
install(FILES pmcorebackendplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
install(FILES pmcorebackendplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
||||||
|
|
||||||
option(PARTMAN_LIBPARTEDBACKEND "Build the libparted backend plugin." ON)
|
if(LINUX)
|
||||||
|
option(PARTMAN_LIBPARTEDBACKEND "Build the libparted backend plugin." ON)
|
||||||
|
|
||||||
if (PARTMAN_LIBPARTEDBACKEND)
|
if (PARTMAN_LIBPARTEDBACKEND)
|
||||||
add_subdirectory(libparted)
|
add_subdirectory(libparted)
|
||||||
endif (PARTMAN_LIBPARTEDBACKEND)
|
endif (PARTMAN_LIBPARTEDBACKEND)
|
||||||
|
endif(LINUX)
|
||||||
|
|
||||||
option(PARTMAN_SFDISKBACKEND "Build the sfdisk backend plugin." ON)
|
option(PARTMAN_SFDISKBACKEND "Build the sfdisk backend plugin." ON)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue