mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
Wrap PartitionPage building in WITH_PARTITIONMANAGER
This commit is contained in:
parent
8d6b7672bc
commit
6b164a9dcf
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
if( WITH_PARTITIONMANAGER )
|
||||
|
||||
add_definitions( -DCALAMARES )
|
||||
|
||||
include_directories( ${PROJECT_BINARY_DIR}/src/calamares )
|
||||
|
@ -40,3 +42,5 @@ target_link_libraries( partview
|
|||
Qt5::Core
|
||||
)
|
||||
set_target_properties( partview PROPERTIES AUTOMOC TRUE )
|
||||
|
||||
endif( WITH_PARTITIONMANAGER )
|
||||
|
|
Loading…
Add table
Reference in a new issue