diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-08-12 08:06:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-11 17:06:39 -0700 |
| commit | 9d4c559751206932f38765a198c37a65be3f7841 (patch) | |
| tree | e10cbd121351e27f6bbc377987f3313086b5dde7 /scripts/cmake | |
| parent | 69478c5caafcde4c490bb1fccb960296801dbb5f (diff) | |
| download | vcpkg-9d4c559751206932f38765a198c37a65be3f7841.tar.gz vcpkg-9d4c559751206932f38765a198c37a65be3f7841.zip | |
[cmake] Update to 3.21.1 (#18955)
Diffstat (limited to 'scripts/cmake')
| -rw-r--r-- | scripts/cmake/vcpkg_find_acquire_program.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake index 436f6263f..7740f5dec 100644 --- a/scripts/cmake/vcpkg_find_acquire_program.cmake +++ b/scripts/cmake/vcpkg_find_acquire_program.cmake @@ -478,6 +478,7 @@ function(vcpkg_find_acquire_program VAR) #TODO: REGEX MATCH case for more complex cases! if(NOT ${VAR}_VERSION_OUTPUT VERSION_GREATER_EQUAL ${VAR}_VERSION) message(STATUS "Found ${PROGNAME}('${${VAR}_VERSION_OUTPUT}') but at least version ${${VAR}_VERSION} is required! Trying to use internal version if possible!") + unset(${VAR}) set(${VAR} "${VAR}-NOTFOUND" CACHE INTERNAL "") else() message(STATUS "Found external ${PROGNAME}('${${VAR}_VERSION_OUTPUT}').") |
