Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
69fafacb
Commit
69fafacb
authored
Feb 17, 2021
by
Laurent Montel
😁
Browse files
We depend against 5.14.0
parent
ef0ece50
Pipeline
#51313
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewer/bodypartformatter/CMakeLists.txt
View file @
69fafacb
...
...
@@ -9,23 +9,13 @@ add_subdirectory(gnupgwks)
add_subdirectory
(
pkpass
)
add_subdirectory
(
itinerary
)
if
(
Qt5Widgets_VERSION VERSION_LESS 5.14.0
)
option
(
FORCE_DISCOUNT_LIB
"Force using discount lib for markdown bodyformatter."
TRUE
)
if
(
FORCE_DISCOUNT_LIB AND discount_FOUND
)
set
(
USE_DISCOUNT_LIB TRUE
)
if
(
discount_FOUND
)
MESSAGE
(
STATUS
"build bodyparformatter mardown with discount support"
)
add_subdirectory
(
markdown
)
else
()
message
(
STATUS
"Markdown plugin not supported before qt 5.14.0"
)
endif
()
MESSAGE
(
STATUS
"build bodyparformatter mardown with discount support"
)
add_subdirectory
(
markdown
)
else
()
option
(
FORCE_DISCOUNT_LIB
"Force using discount lib for markdown bodyformatter."
TRUE
)
if
(
FORCE_DISCOUNT_LIB AND discount_FOUND
)
set
(
USE_DISCOUNT_LIB TRUE
)
MESSAGE
(
STATUS
"build bodyparformatter mardown with discount support"
)
add_subdirectory
(
markdown
)
else
()
set
(
USE_DISCOUNT_LIB FALSE
)
MESSAGE
(
STATUS
"build bodyparformatter mardown with QTextDocument support"
)
add_subdirectory
(
markdown
)
endif
()
set
(
USE_DISCOUNT_LIB FALSE
)
MESSAGE
(
STATUS
"build bodyparformatter mardown with QTextDocument support"
)
add_subdirectory
(
markdown
)
endif
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment