Warning, /pim/kleopatra/src/mimetypes/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: none 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 # always install the media types 0004 install(FILES application-vnd-kde-kleopatra.xml DESTINATION ${KDE_INSTALL_MIMEDIR}) 0005 0006 # require at least version 1.3 (same as for KF6) 0007 find_package(SharedMimeInfo 1.3) 0008 set_package_properties(SharedMimeInfo PROPERTIES 0009 TYPE OPTIONAL 0010 PURPOSE "Enables import of exported certificate groups with Kleopatra" 0011 ) 0012 0013 # update XDG mime-types if shared mime info is around 0014 if(SharedMimeInfo_FOUND AND NOT CMAKE_CROSSCOMPILING) 0015 update_xdg_mimetypes(${KDE_INSTALL_MIMEDIR}) 0016 endif()