Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5e50aafb authored by Laurent Montel's avatar Laurent Montel 😁

Allow to run test without install it

parent 68c31ee1
......@@ -2,8 +2,17 @@ cmake_minimum_required(VERSION 3.1)
set(PIM_VERSION "5.6.40")
project(AkonadiImportWizard VERSION ${PIM_VERSION})
set(KF5_VERSION "5.37.0")
find_package(ECM ${KF5_VERSION} REQUIRED NO_MODULE)
option(RUN_UNINSTALL "test run uninstalled apps (experimental)" FALSE)
set(ECM_VERSION ${KF5_VERSION})
# ECM setup
if (RUN_UNINSTALL)
set(ECM_VERSION "5.38.0")
endif()
find_package(ECM ${ECM_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
include(ECMInstallIcons)
......
......@@ -9,7 +9,6 @@ ecm_qt_declare_logging_category(balsaimporter_SRCS HEADER balsaplugin_debug.h
kcoreaddons_add_plugin(balsaimporterplugin JSON balsaimporter.json SOURCES
${balsaimporter_SRCS} INSTALL_NAMESPACE importwizard)
target_link_libraries(balsaimporterplugin
KPim::ImportWizard
KF5::XmlGui
......
......@@ -9,7 +9,7 @@ ecm_qt_declare_logging_category(thunderbirdimporter_SRCS HEADER thunderbirdplugi
IDENTIFIER THUNDERBIRDPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.thunderbirdplugin)
kcoreaddons_add_plugin(thunderbirdimporterplugin JSON thunderbirdimporter.json SOURCES
${thunderbirdimporter_SRCS} INSTALL_NAMESPACE importwizard)
set_target_properties(thunderbirdimporterplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/")
target_link_libraries(thunderbirdimporterplugin
KPim::ImportWizard
......
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