diff options
author | Harald Sitter <sitter@kde.org> | 2020-08-07 14:09:51 +0200 |
---|---|---|
committer | Harald Sitter <sitter@kde.org> | 2020-08-07 15:41:23 +0200 |
commit | f3eb33fbd4d16ef567b9e456c6c70052b4673581 (patch) | |
tree | d6fe981d9398a2125bdde9967b74038dda7493c4 /find-modules/FindPythonModuleGeneration.cmake | |
parent | 6a278dff8b70f6ed3453c39a82ba41c97248aadd (diff) | |
download | extra-cmake-modules-f3eb33fbd4d16ef567b9e456c6c70052b4673581.tar.gz extra-cmake-modules-f3eb33fbd4d16ef567b9e456c6c70052b4673581.tar.bz2 |
invoke update-mime-database with -n
it only updates the database iff there's new files and is specifically
meant for post-install invocation. since cmake only installs files when
they actually changed this effectively turns repeated cmake --install
calls noop as far as database updates are concerned
this stops all sources with mimetype definitions from rebuilding the
mime database on every install even when nothing changed. it saves
literal seconds every install call
-n was introduced in 1.4 which is like 6 years old and there are no
pratcically relevant distribution versions around with older versions
Diffstat (limited to 'find-modules/FindPythonModuleGeneration.cmake')
0 files changed, 0 insertions, 0 deletions