Merge pull request #38153 from tchaikov/wip-cmake-silence-warning

cmake: set advice.detachedHead=false when cloning liburing

Reviewed-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
Kefu Chai 2020-11-20 09:14:08 +08:00 committed by GitHub
commit 5dec5c7a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ function(build_uring)
GIT_REPOSITORY https://git.kernel.dk/liburing
GIT_TAG "liburing-0.7"
GIT_SHALLOW TRUE
GIT_CONFIG advice.detachedHead=false
UPDATE_DISCONNECTED TRUE)
endif()