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
1229a067
Commit
1229a067
authored
Jan 23, 2021
by
Laurent Montel
😁
Browse files
Use KDE_INSTALL_MIMEDIR instead of custom XDG_MIME_INSTALL_DIR
parent
82920eaa
Pipeline
#48403
passed with stage
in 25 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
1229a067
...
...
@@ -46,8 +46,8 @@ install(TARGETS cantor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
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_MIM
E_INSTALL_DIR
}
)
update_xdg_mimetypes
(
${
XDG_MIM
E_INSTALL_DIR
}
)
install
(
FILES cantor.xml DESTINATION
${
KD
E_INSTALL_
MIME
DIR
}
)
update_xdg_mimetypes
(
${
KD
E_INSTALL_
MIME
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