OpenFHE HEXL cmake inclusion error

Hello,
I am using the CMake template file from the OpenFHE repository for a project.

When installing OpenFHE with the configurator, opting for the HEXL backend seems to build and install correctly, but I am getting the following when running the CMake template above.

  The link interface of target "OPENFHEcore" contains:

    HEXL::hexl

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /root/repos/openfhe-configurator/openfhe-staging/openfhe-development/build/OpenFHEConfig.cmake:10 (include)
  CMakeLists.txt:23 (find_package)


CMake Error at /root/repos/openfhe-configurator/openfhe-staging/openfhe-development/build/OpenFHETargets.cmake:59 (set_target_properties):
  The link interface of target "OPENFHEpke" contains:

    HEXL::hexl

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /root/repos/openfhe-configurator/openfhe-staging/openfhe-development/build/OpenFHEConfig.cmake:10 (include)
  CMakeLists.txt:23 (find_package)


CMake Error at /root/repos/openfhe-configurator/openfhe-staging/openfhe-development/build/OpenFHETargets.cmake:66 (set_target_properties):
  The link interface of target "OPENFHEbinfhe" contains:

    HEXL::hexl

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /root/repos/openfhe-configurator/openfhe-staging/openfhe-development/build/OpenFHEConfig.cmake:10 (include)
  CMakeLists.txt:23 (find_package)

Any pointers greatly appreciated!

I just saw this CMake template in the openfhe-hexl repository. Using this solved my issue: openfhe-hexl/CMakeLists.User.txt at main · openfheorg/openfhe-hexl · GitHub