Commit 08c7940a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Grantlee is not necessary now

parent c0c3b43e
Pipeline #21073 passed with stage
in 4 minutes and 36 seconds
......@@ -39,13 +39,6 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KPIMTEXTEDIT
set(QT_REQUIRED_VERSION "5.12.0")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Widgets)
find_package(Grantlee5 "5.2" CONFIG REQUIRED)
set_package_properties(Grantlee5 PROPERTIES
DESCRIPTION "A plug-in based String Template system for Qt"
URL "https://github.com/steveire/grantlee"
PURPOSE "Required for the RichText composer"
TYPE REQUIRED
)
########### Find packages ###########
find_package(KF5Codecs ${KF5_MIN_VERSION} CONFIG REQUIRED)
......
......@@ -95,7 +95,6 @@ target_link_libraries(KF5PimTextEdit
KF5::WidgetsAddons
KF5::KIOWidgets
KF5::ConfigWidgets
Grantlee5::TextDocument
KF5::XmlGui
KF5::I18n
KF5::SyntaxHighlighting
......
add_definitions( -DGRANTLEEBUILDER_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data" )
ecm_add_tests(texthtmlbuildertest.cpp
NAME_PREFIX "kpimtextedit-grantleebuilder-"
LINK_LIBRARIES KF5::PimTextEdit Qt5::Test Qt5::Widgets Grantlee5::TextDocument
LINK_LIBRARIES KF5::PimTextEdit Qt5::Test Qt5::Widgets
)
ecm_add_tests(plaintextmarkupbuildertest.cpp
NAME_PREFIX "kpimtextedit-grantleebuilder-"
LINK_LIBRARIES KF5::PimTextEdit Qt5::Test Qt5::Widgets Grantlee5::TextDocument
LINK_LIBRARIES KF5::PimTextEdit Qt5::Test Qt5::Widgets
)
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