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
KPkPass
Commits
c80ac1c2
Commit
c80ac1c2
authored
Oct 01, 2020
by
Laurent Montel
😁
Browse files
Remove NO_REGENERATE_MIME as now UPDATE_XDG_MIMETYPES uses -n
parent
3ae6c882
Pipeline
#36101
passed with stage
in 2 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c80ac1c2
...
...
@@ -27,7 +27,6 @@ set(QT_REQUIRED_VERSION "5.13.0")
find_package
(
Qt5
${
QT_REQUIRED_VERSION
}
REQUIRED COMPONENTS Gui
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS Archive
)
find_package
(
SharedMimeInfo 1.3 REQUIRED
)
option
(
NO_REGENERATE_MIME
"Don't regenerate mime file (only for developper)"
FALSE
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054B00
)
...
...
src/CMakeLists.txt
View file @
c80ac1c2
...
...
@@ -50,9 +50,7 @@ install(FILES
if
(
NOT ANDROID
)
install
(
FILES application-vnd-apple-pkpass.xml DESTINATION
${
XDG_MIME_INSTALL_DIR
}
)
if
(
NOT NO_REGENERATE_MIME
)
update_xdg_mimetypes
(
${
XDG_MIME_INSTALL_DIR
}
)
endif
()
update_xdg_mimetypes
(
${
XDG_MIME_INSTALL_DIR
}
)
endif
()
ecm_qt_install_logging_categories
(
EXPORT KPKPASS FILE org_kde_kpkpass.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
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