Michał Górny 919dba9248 [llvm] [cmake] Fix finding modern ounit2
Apparently modern versions of ounit2 can only be found as "ounit2"
rather than "oUnit" version 2.  Update the CMake check to support both
variants.  This makes the OCaml tests run again with ounit2-2.2.4.

Differential Revision: https://reviews.llvm.org/D119079
2022-02-12 13:45:17 +01:00
..

See docs/CMake.html for instructions on how to build LLVM with CMake.