-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
Lines 110 to 117 in ab5098e
| xml2_dep = dependency( | |
| ['libxml-2.0', 'LibXml2'], | |
| version: xml2_req, | |
| required: host_machine.system() != 'windows' | |
| ) | |
| # Setup CMake subproject for use, if needed | |
| if not xml2_dep.found() |
The required: is problematic, because projects using libxml++ may also depend on libxml-2.0 themselves. That means meson will resolve the dep and cache it before it sees this Requires. So xml2_dep.found() will be true on windows. This means...
Line 131 in ab5098e
| winsock_dep = cpp_compiler.find_library('ws2_32', required: false) |
This winsock_dep, bcrypt_dep, and xml2_sp variables which are inside the if not xml2_dep.found() won't be set. xml2_sp is only used if build-tests is true, but there's no way around needing the winsock_dep variable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels