[libcxx-commits] [libcxx] [libc++] Define all CMake configuration features in the same location (PR #115361)
Petr Hosek via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 18 07:58:25 PST 2024
petrhosek wrote:
> @Caslyn
>
> > It sounds like this change possibly triggered something that was broken with how `google-benchmark` is configured:
>
> I am seeing this in your error message, which seems to be the problem:
>
> ```
> CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
> ```
>
> I guess just using `ninja` doesn't resolve to anything in your setup, so you'd need to set `CMAKE_MAKE_PROGRAM` to let CMake know where to use `ninja` from (e.g. `xcrun --find ninja`).
@ldionne https://github.com/llvm/llvm-project/pull/116644 should address the issue.
https://github.com/llvm/llvm-project/pull/115361
More information about the libcxx-commits
mailing list