don't build the dummy backend by default (or distros will start to ship it)

make building the libparted backend configurable

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1122567
This commit is contained in:
Volker Lanz 2010-05-04 07:23:19 +00:00
parent 0c3f5ca46f
commit 9ec7f7b2e5
1 changed files with 6 additions and 2 deletions

View File

@ -19,9 +19,13 @@
install(FILES pmcorebackendplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
add_subdirectory(libparted)
option(PARTMAN_LIBPARTEDBACKEND "Build the libparted backend plugin." ON)
option(PARTMAN_DUMMYBACKEND "Build the dummy backend plugin." ON)
if (PARTMAN_LIBPARTEDBACKEND)
add_subdirectory(libparted)
endif (PARTMAN_LIBPARTEDBACKEND)
option(PARTMAN_DUMMYBACKEND "Build the dummy backend plugin." OFF)
if (PARTMAN_DUMMYBACKEND)
add_subdirectory(dummy)