[all-commits] [llvm/llvm-project] 919dba: [llvm] [cmake] Fix finding modern ounit2

Michał Górny via All-commits all-commits at lists.llvm.org
Sat Feb 12 04:45:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 919dba9248f63d50e679ad5741d99ed8a8047227
      https://github.com/llvm/llvm-project/commit/919dba9248f63d50e679ad5741d99ed8a8047227
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-02-12 (Sat, 12 Feb 2022)

  Changed paths:
    M llvm/cmake/config-ix.cmake

  Log Message:
  -----------
  [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




More information about the All-commits mailing list