<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/113459>113459</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            sycl configure fails on ~rhel
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          flg
      </td>
    </tr>
</table>

<pre>
    Hi,

I'm following instructions from:
https://www.intel.com/content/www/us/en/developer/articles/technical/compiling-sycl-with-different-gpus.html

configure fails with the following error:

`CMake Error at lib/Support/CMakeLists.txt:327 (get_property):
  get_property could not find TARGET zstd::libzstd_static.  Perhaps it has
  not yet been created.
`

OS is up-to-date AlmaLinux release 9.4. Both libzstd.x86_64 and libzstd-devel.x86_64 are installed.

I found a similar issue but from 2 years ago on OpenBSD: https://github.com/llvm/llvm-project/issues/59056

Am I missing something? If not, is there a workaround?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycU01zqzgQ_DXiMgUFEgZz4OB8sJuqbGVrk3tKwADaCImShjjew_72LWHH6_eO7yKX3Eyre6ZHeq9Gg1iz3R3bPURypcm6etBj1Nr-VP-uGL9n6QNLD-fzifFyhsFqbY_KjKCMJ7d2pKzxMDg7M3H5ciJafLjxhvHmeDwmyhDqpLMz401nDaGhM8J4s3rGGzSMNz1-orYLOsYb6Uh1GgNG2E1GdVJvxfOitDJj7E-djo-KprhXw4AODcXjsvpkolnf6u6sGdS4OoRBKu0h1ABNeGMFnbPuKv9yFun9H_ID4TGAIAm0ahlvXtdlsS7I3-Bn5ckn9EVMHAQvgfH9iPS-uOCDToxXV16AWwQ6u-oejCUYlOnh7fDXb49v8I-nPlSIg1ZtuLx7kqS6BOBPdJNcPCiCSfpvzkBwQoIW0UDnUBL2ydXCraOXV1Ae1iUmG_eSEA56ls_KrF_gUKP0CFWSJ3BnaYLL68nXvngvcpCm__4r3sZ0BRxuSZBa___uOS8w2NX0IMGrWWnpQHm_IrQrbXEBDieUzoMcLVgDLwuau9cHJg7wY4BGRdPaXtKj9ef3T7w4-zd2YRQbc8jKrkp3xa2KwwxPMCvvw5y9nZEmZUYmGngaQu8Yvw9doQkdgoSjdR_SBd1MNFFfi74SlYywzkpeFVUmyiya6r7cS56nRTaUnSjStKyqosd2P0iZ53vZRqrmKc-zlItM5JVIk7Ls8qoQRb8fhOx4yvIUZ6l0Eowk1o3RZqHOMpHvqkjLFrXfVpNzg8dz6xjnYVNdvblv19GzPNVbAK80pEhjHZYDfg6-NfCvm1BHq9P1r7f4IvGz5v8FAAD__0F6YNY">