Commit c80ac1c2 authored by Laurent Montel's avatar 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
......@@ -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)
......
......@@ -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})
Markdown is supported
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