diff options
author | Li Xinwei <1326710505@qq.com> | 2021-05-12 20:03:57 +0800 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-05-12 23:19:32 +0000 |
commit | bf1791c562f35edeb081a12c5afc81772a36a0b0 (patch) | |
tree | 3a1f908b743b61cc7edf44ddfbcf1aea2ee3f580 /CMakeLists.txt | |
parent | 87b83bf9931245b0ecc38fc52e69443b1d243176 (diff) |
CMake: add an option to enable or disable versioned hard link
The option is called QT_CREATE_VERSIONED_HARD_LINK. By default, it
is set to ON. Users can set this option to OFF to disable versioned
hard link.
Fixes: QTBUG-93636
Change-Id: I0ffa1ee1c6bae1950df332fcce3152a861b33db0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 320c282488f4ae4cae735b0be027170803d06cd7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d83b17cfd..0ea40913cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,6 +81,9 @@ if(NOT QT_BUILD_STANDALONE_TESTS) ## Should this Qt be built with Werror? option(WARNINGS_ARE_ERRORS "Build Qt with warnings as errors" ${FEATURE_developer_build}) + ## Should this Qt create versioned hard link for some tools? + option(QT_CREATE_VERSIONED_HARD_LINK "Enable the use of versioned hard link" ON) + ## QtBase specific configure tests: include(QtBaseConfigureTests) |