Commit 17587942 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

use no deprecated cmake variable

parent 5a041696
Pipeline #180455 failed with stage
in 2 minutes and 24 seconds
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: BSD-3-Clause
# always install the media types
install(FILES application-vnd-kde-kleopatra.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
install(FILES application-vnd-kde-kleopatra.xml DESTINATION ${KDE_INSTALL_MIMEDIR})
# require at least version 1.3 (same as for KF5)
find_package(SharedMimeInfo 1.3)
......@@ -12,5 +12,5 @@ set_package_properties(SharedMimeInfo PROPERTIES
# update XDG mime-types if shared mime info is around
if(SharedMimeInfo_FOUND AND NOT CMAKE_CROSSCOMPILING)
update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
update_xdg_mimetypes(${KDE_INSTALL_MIMEDIR})
endif()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment