cmake: find dependencies with bare library names on all platforms
This commit is contained in:
parent
1d84989078
commit
727b737bc3
|
@ -50,8 +50,8 @@ def resolve_cmake_trace_targets(target_name: str,
|
|||
res.libraries += [curr]
|
||||
elif Path(curr).is_absolute() and Path(curr).exists():
|
||||
res.libraries += [curr]
|
||||
elif env.machines.build.is_windows() and reg_is_maybe_bare_lib.match(curr) and clib_compiler:
|
||||
# On Windows, CMake library dependencies can be passed as bare library names,
|
||||
elif reg_is_maybe_bare_lib.match(curr) and clib_compiler:
|
||||
# CMake library dependencies can be passed as bare library names,
|
||||
# CMake brute-forces a combination of prefix/suffix combinations to find the
|
||||
# right library. Assume any bare argument passed which is not also a CMake
|
||||
# target must be a system library we should try to link against.
|
||||
|
|
Loading…
Reference in New Issue