Init commonmark support.
Add dependency cmark.
This commit is contained in:
@@ -20,6 +20,9 @@ isEmpty(USE_SYSTEM_SORTFILTERPROXYMODEL) {
|
||||
isEmpty(USE_SYSTEM_QMATRIXCLIENT) {
|
||||
USE_SYSTEM_QMATRIXCLIENT = false
|
||||
}
|
||||
isEmpty(USE_SYSTEM_CMARK) {
|
||||
USE_SYSTEM_CMARK = false
|
||||
}
|
||||
isEmpty(BUNDLE_FONT) {
|
||||
BUNDLE_FONT = false
|
||||
}
|
||||
@@ -36,6 +39,12 @@ $$USE_SYSTEM_SORTFILTERPROXYMODEL {
|
||||
message("Falling back to built-in SortFilterProxyModel.")
|
||||
include(include/SortFilterProxyModel/SortFilterProxyModel.pri)
|
||||
}
|
||||
$$USE_SYSTEM_CMARK {
|
||||
PKGCONFIG += libcmark
|
||||
} else {
|
||||
message("Falling back to built-in CMark.")
|
||||
include(include/SortFilterProxyModel/SortFilterProxyModel.pri)
|
||||
}
|
||||
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any feature of Qt which as been marked deprecated (the exact warnings
|
||||
|
||||
Reference in New Issue
Block a user