mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
GetPrerequisites: Do not warn about non-absolute UCRT system libraries
Issue: #17007
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user