To build with partitionmanager: cmake -DWITH_PARTITIONMANAGER=1
This commit is contained in:
parent
6388171521
commit
afa1d9dce0
@ -1,6 +1,8 @@
|
|||||||
project( calamareslib )
|
project( calamareslib )
|
||||||
|
|
||||||
|
if( WITH_PARTITIONMANAGER )
|
||||||
add_subdirectory( partitionmanager/calamares )
|
add_subdirectory( partitionmanager/calamares )
|
||||||
|
endif()
|
||||||
|
|
||||||
add_definitions( ${QT_DEFINITIONS} )
|
add_definitions( ${QT_DEFINITIONS} )
|
||||||
add_definitions( -DQT_SHARED )
|
add_definitions( -DQT_SHARED )
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
if( WITH_PARTITIONMANAGER )
|
||||||
add_executable(calapmtest calapmtest.cpp)
|
add_executable(calapmtest calapmtest.cpp)
|
||||||
add_definitions(-DCALAMARES)
|
add_definitions(-DCALAMARES)
|
||||||
target_link_libraries(calapmtest calapm Qt5::Core)
|
target_link_libraries(calapmtest calapm Qt5::Core)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user