<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59056>59056</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Failure to build with zstd with 15.0.3 or ToT
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
brad0
</td>
</tr>
</table>
<pre>
Ever since https://github.com/llvm/llvm-project/issues/58205 went in it has broken the build on OpenBSD. If I use 15.0.2 it's fine. 15.0.3 or ToT and it's broken. If I use -DLLVM_ENABLE_ZSTD=OFF it skips the test and completes the CMake configuration.
```
CMake Error at lib/Support/CMakeLists.txt:312 (get_property):
get_property could not find TARGET zstd::libzstd_static. Perhaps it has
not yet been created.
CMake Error at lib/Support/CMakeLists.txt:315 (get_property):
get_property could not find TARGET zstd::libzstd_static. Perhaps it has
not yet been created.
CMake Error at lib/Support/CMakeLists.txt:317 (get_library_name):
get_library_name Function invoked with incorrect arguments for function
named: get_library_name
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzdU01v2zAM_TX2haghS_FHDj6kSzIUSNdhDXrYJZBtxtbqSIYkt8t-_WgnKdL1NOw2wLBFUXp875ksTX0sVi9owSldIbTe9y4Qi4Cv6WmUb4cyqsyBgq57uXxuemt-YOUpVM4N6GiR5Jwl8Irag9KgPLTSQWnNM2rwLUI5qK4Go-GhR337uIzgbg93MDiEOIlYxOlOwDMHe6UxOu0JMBa2ZgtS15f0CfLq9s1ys3m6362-LG43q933x-0yEMuH9Xrk4J5V76byHp2fYEhM3yGF0_ane_mMtKf3qhms9MroKGDLgC3O75Sdnyk8HV9ZS7ykh06VpPxx6HtjRzOm9EY57yL_05ONIuYQ8LxBvyPLerT-GPD56O8EB3CdIRoDWaSNHz2oYbv49nm1hV_O1-MNsaByY7BznohWEcBXtK0kgSe3L5gjwBE9lEjWVxalx_qdqL9XkfwXKrKLCjprpT3utDzgRyXXWVgPuhq7gpr6hRqvhleaCQoqYy1NAEjbDAdqeupb4rE_n34TQRCj7A-4f3RXiEWcpnkm8pSlYV2Iei7mMvTKd1ispeoGSy1szkM0URg9PK3ejUo42K74hymesyQN22JWpiXG-awW5YxlbJ7ElcAsz9i-4siYDDtZYueKILkNONf4ChMErYNkGaqCM87jOM4ZF4ylkcjymGE129fzGYoyDWYMDyQrGnlExjahLSZK5dA4SnbTf3tLSudUoxGncoQvB98aW5CdNQunwsVE_Dd_V4ve">