|
|
@ -66,7 +66,7 @@ find_package( YAMLCPP 0.5.1 REQUIRED )
|
|
|
|
find_package( PolkitQt5-1 REQUIRED )
|
|
|
|
find_package( PolkitQt5-1 REQUIRED )
|
|
|
|
|
|
|
|
|
|
|
|
option( WITH_PYTHON "Enable Python modules API (requires Boost.Python)." ON )
|
|
|
|
option( WITH_PYTHON "Enable Python modules API (requires Boost.Python)." ON )
|
|
|
|
option( WITH_CRASHREPORTER "Build with CrashReporter" ON )
|
|
|
|
# option( WITH_CRASHREPORTER "Build with CrashReporter" OFF )
|
|
|
|
option( INSTALL_CONFIG "Install configuration files" ON )
|
|
|
|
option( INSTALL_CONFIG "Install configuration files" ON )
|
|
|
|
option( WITH_PYTHONQT "Enable next generation Python modules API (experimental, requires PythonQt)." OFF )
|
|
|
|
option( WITH_PYTHONQT "Enable next generation Python modules API (experimental, requires PythonQt)." OFF )
|
|
|
|
option( BUILD_TESTING "Build the testing tree." ON )
|
|
|
|
option( BUILD_TESTING "Build the testing tree." ON )
|
|
|
@ -75,10 +75,10 @@ if( BUILD_TESTING )
|
|
|
|
enable_testing()
|
|
|
|
enable_testing()
|
|
|
|
endif ()
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
|
|
if( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/libcrashreporter-qt/CMakeLists.txt" )
|
|
|
|
# if( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/libcrashreporter-qt/CMakeLists.txt" )
|
|
|
|
message( STATUS "Build of crashreporter disabled." )
|
|
|
|
# message( STATUS "Build of crashreporter disabled." )
|
|
|
|
set( WITH_CRASHREPORTER OFF )
|
|
|
|
# set( WITH_CRASHREPORTER OFF )
|
|
|
|
endif()
|
|
|
|
# endif()
|
|
|
|
|
|
|
|
|
|
|
|
find_package( PythonLibs 3.3 OPTIONAL )
|
|
|
|
find_package( PythonLibs 3.3 OPTIONAL )
|
|
|
|
set_package_properties(
|
|
|
|
set_package_properties(
|
|
|
@ -237,7 +237,7 @@ set_package_properties( mksquashfs PROPERTIES
|
|
|
|
TYPE OPTIONAL
|
|
|
|
TYPE OPTIONAL
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory( thirdparty )
|
|
|
|
# add_subdirectory( thirdparty )
|
|
|
|
add_subdirectory( src )
|
|
|
|
add_subdirectory( src )
|
|
|
|
|
|
|
|
|
|
|
|
feature_summary(WHAT ALL)
|
|
|
|
feature_summary(WHAT ALL)
|
|
|
|