And build it.

main
Teo Mrnjavac 9 years ago
parent 1335af631c
commit e64050821a

@ -56,6 +56,12 @@ find_package( YamlCpp 0.5.1 REQUIRED )
find_package( PolkitQt5-1 REQUIRED )
option( WITH_PYTHON "Enable Python modules support." ON )
option( WITH_CRASHREPORTER "Build with CrashReporter" ON )
if( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/libcrashreporter-qt/CMakeLists.txt" )
message( STATUS "Build of crashreporter disabled." )
set( WITH_CRASHREPORTER OFF )
endif()
macro_optional_find_package( PythonLibs 3.3 )
macro_log_feature(
@ -152,6 +158,7 @@ file( COPY CalamaresAddBrandingSubdirectory.cmake DESTINATION "${PROJECT_BINARY_
set( CALAMARES_LIBRARIES calamares )
add_subdirectory( thirdparty )
add_subdirectory( src )
macro_display_feature_log()

@ -0,0 +1,6 @@
if( WITH_CRASHREPORTER )
macro( qt_wrap_ui )
qt5_wrap_ui( ${ARGN} )
endmacro()
add_subdirectory( libcrashreporter-qt )
endif()
Loading…
Cancel
Save