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
Education
Cantor
Commits
81d5640c
Commit
81d5640c
authored
Nov 29, 2020
by
Kishore Gopalakrishnan
Browse files
Make cmake call update-mime-database during install.
parent
a568504b
Pipeline
#42547
passed with stage
in 25 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
81d5640c
...
...
@@ -16,6 +16,9 @@ set(KF5_MIN_VERSION "5.57.0")
find_package
(
ECM 5.15.0 REQUIRED CONFIG
)
set
(
CMAKE_MODULE_PATH
${
cantor_SOURCE_DIR
}
/cmake
${
CMAKE_MODULE_PATH
}
${
ECM_MODULE_PATH
}
)
set
(
SharedMimeInfo_MINIMUM_VERSION
"1.3"
)
#TODO: What is the minimum required version?
find_package
(
SharedMimeInfo
${
SharedMimeInfo_MINIMUM_VERSION
}
REQUIRED
)
find_package
(
Qt5 5.8.0 CONFIG REQUIRED
Core
Widgets
...
...
src/CMakeLists.txt
View file @
81d5640c
...
...
@@ -47,6 +47,7 @@ install( PROGRAMS org.kde.cantor.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install
(
FILES cantor_shell.rc DESTINATION
${
KDE_INSTALL_KXMLGUI5DIR
}
/cantor
)
install
(
FILES cantor.knsrc DESTINATION
${
KDE_INSTALL_KNSRCDIR
}
)
install
(
FILES cantor.xml DESTINATION
${
XDG_MIME_INSTALL_DIR
}
)
update_xdg_mimetypes
(
${
XDG_MIME_INSTALL_DIR
}
)
#########################################################################
# KPART SECTION
...
...
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