Add check for static libraries when compiling CryptoMiniSat #7010 (#7014)
authorAndrew V. Jones <andrewvaughanj@gmail.com>
Mon, 16 Aug 2021 05:31:23 +0000 (06:31 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 05:31:23 +0000 (05:31 +0000)
commitba2acc2d22b7718b102bfa7c2a699be5a4d87296
tree65475fa2f42935e80f579f65aee6ccb68e577649
parentbb0b36445b37c5b7fd22f4b12e590ade4646589e
Add check for static libraries when compiling CryptoMiniSat #7010 (#7014)

This commit adds a check for CryptoMiniSat's static dependencies when configuring CryptoMiniSat. It changes a build-time failure into a configure-time failure.

`find_library` in CMake > 3.18 supports `REQUIRED`; as `cvc5` targets 3.10, I've implemented a check for what `find_library` returns.

Signed-off-by: Andrew V. Jones <andrewvaughanj@gmail.com>
cmake/FindCryptoMiniSat.cmake