Commit ce3a416c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to build test without akonadi support

parent bcbad4a9
Pipeline #59375 passed with stage
in 6 minutes and 50 seconds
......@@ -76,7 +76,7 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX INCIDENCEEDITOR
)
option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
option(KDEPIM_RUN_AKONADI_TEST "Enable autotest based on Akonadi." TRUE)
# config-enterprise.h is needed for both ENTERPRISE_BUILD and BUILD_EVERYTHING
configure_file(config-enterprise.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config-enterprise.h )
......
......@@ -59,6 +59,7 @@ target_link_libraries(testindividualmaildialog
KF5::I18n
)
if (KDEPIM_RUN_AKONADI_TEST)
# The IncidenceCategories subeditor of the dialog starts Akonadi running, so
# set up an environment.
set(AKONADI_RUN_MYSQL_ISOLATED_TESTS FALSE)
......@@ -72,3 +73,4 @@ add_akonadi_isolated_test(
KF5::Libkdepim
KF5::WidgetsAddons
)
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment