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

Remove NO_REGENERATE_MIME as now UPDATE_XDG_MIMETYPES uses -n

parent dc046daa
Pipeline #36107 failed with stage
in 60 minutes and 19 seconds
......@@ -131,7 +131,6 @@ check_symbol_exists(malloc_trim "malloc.h" HAVE_MALLOC_TRIM)
############### Build Options ###############
option(AKONADI_BUILD_QSQLITE "Build the Sqlite backend." TRUE)
option(BUILD_TOOLS "Build and install tools for development and testing purposes." TRUE)
option(NO_REGENERATE_MIME "Don't regenerate mime file (developer-only option)" FALSE )
option(INSTALL_APPARMOR "Install AppArmor profiles" TRUE)
if(BUILD_TESTING)
......@@ -319,9 +318,7 @@ endif()
############### install stuff ###############
install(FILES akonadi-mime.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})
############### CMake Config Files ###############
......
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