cmake does not define LINUX variable.
This commit is contained in:
parent
11e435657a
commit
aa23fc1168
|
@ -17,21 +17,17 @@
|
||||||
|
|
||||||
install(FILES pmcorebackendplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
install(FILES pmcorebackendplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
||||||
|
|
||||||
#if(LINUX)
|
#option(PARTMAN_LIBPARTEDBACKEND "Build the libparted backend plugin." ON)
|
||||||
# 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)
|
|
||||||
|
|
||||||
if(LINUX)
|
option(PARTMAN_SFDISKBACKEND "Build the sfdisk backend plugin." ON)
|
||||||
option(PARTMAN_SFDISKBACKEND "Build the sfdisk backend plugin." ON)
|
|
||||||
|
|
||||||
if (PARTMAN_SFDISKBACKEND)
|
if (PARTMAN_SFDISKBACKEND)
|
||||||
add_subdirectory(sfdisk)
|
add_subdirectory(sfdisk)
|
||||||
endif (PARTMAN_SFDISKBACKEND)
|
endif (PARTMAN_SFDISKBACKEND)
|
||||||
endif(LINUX)
|
|
||||||
|
|
||||||
option(PARTMAN_DUMMYBACKEND "Build the dummy backend plugin." ON)
|
option(PARTMAN_DUMMYBACKEND "Build the dummy backend plugin." ON)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue