diff options
author | Brad King <brad.king@kitware.com> | 2017-06-22 14:58:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-26 14:33:16 (GMT) |
commit | 23451a66acc9762f27ab93cb4fe2192b2fb3fbfc (patch) | |
tree | 6b0c9aa2daa98f5360e8963ea001f7cb34892c6a /Modules/GetPrerequisites.cmake | |
parent | 8fe54172fcb37e39e0f7e506e575bdd8c7171e8d (diff) | |
download | CMake-23451a66acc9762f27ab93cb4fe2192b2fb3fbfc.zip CMake-23451a66acc9762f27ab93cb4fe2192b2fb3fbfc.tar.gz CMake-23451a66acc9762f27ab93cb4fe2192b2fb3fbfc.tar.bz2 |
GetPrerequisites: Do not warn about non-absolute UCRT system libraries
Issue: #17007
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r-- | Modules/GetPrerequisites.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake index 0090cdc..4e52cb3 100644 --- a/Modules/GetPrerequisites.cmake +++ b/Modules/GetPrerequisites.cmake @@ -609,7 +609,7 @@ function(gp_resolved_file_type original_file file exepath dirs type_var) if(NOT is_embedded) if(NOT IS_ABSOLUTE "${resolved_file}") - if(lower MATCHES "^msvc[^/]+dll" AND is_system) + if(lower MATCHES "^(msvc|api-ms-win-)[^/]+dll" AND is_system) message(STATUS "info: non-absolute msvc file '${file}' returning type '${type}'") else() message(STATUS "warning: gp_resolved_file_type non-absolute file '${file}' returning type '${type}' -- possibly incorrect") |