Wrap PartitionPage building in WITH_PARTITIONMANAGER
This commit is contained in:
parent
8d6b7672bc
commit
6b164a9dcf
@ -1,3 +1,5 @@
|
|||||||
|
if( WITH_PARTITIONMANAGER )
|
||||||
|
|
||||||
add_definitions( -DCALAMARES )
|
add_definitions( -DCALAMARES )
|
||||||
|
|
||||||
include_directories( ${PROJECT_BINARY_DIR}/src/calamares )
|
include_directories( ${PROJECT_BINARY_DIR}/src/calamares )
|
||||||
@ -40,3 +42,5 @@ target_link_libraries( partview
|
|||||||
Qt5::Core
|
Qt5::Core
|
||||||
)
|
)
|
||||||
set_target_properties( partview PROPERTIES AUTOMOC TRUE )
|
set_target_properties( partview PROPERTIES AUTOMOC TRUE )
|
||||||
|
|
||||||
|
endif( WITH_PARTITIONMANAGER )
|
||||||
|
Loading…
Reference in New Issue
Block a user