Commit 58a59795 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove NO_REGENERATE_MIME as now UPDATE_XDG_MIMETYPES uses -n

parent f17a9178
Pipeline #36102 passed with stage
in 19 minutes and 7 seconds
......@@ -68,7 +68,6 @@ if(BUILD_TESTING)
endif()
configure_file(akonadi-mimeprivate_export.h.in "${CMAKE_CURRENT_BINARY_DIR}/akonadi-mimeprivate_export.h")
include_directories(${CMAKE_CURRENT_BINARY_DIR})
option(NO_REGENERATE_MIME "Don't regenerate mime file (only for developper)" FALSE )
add_subdirectory(src)
add_subdirectory(serializers)
......
......@@ -146,7 +146,5 @@ install(FILES
## install the MIME type spec file for KDEPIM specific MIME types
install(FILES x-vnd.kde.contactgroup.xml DESTINATION ${KDE_INSTALL_MIMEDIR})
if (NOT NO_REGENERATE_MIME)
update_xdg_mimetypes(${KDE_INSTALL_MIMEDIR})
endif()
update_xdg_mimetypes(${KDE_INSTALL_MIMEDIR})
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