From 8d7f8fabae252710e8e43bf18a0c33ec9f8a7137 Mon Sep 17 00:00:00 2001 From: marcofleon Date: Mon, 2 Sep 2024 12:53:50 +0100 Subject: [PATCH] doc: fix compiler flags for macOS configuration --- doc/build-osx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build-osx.md b/doc/build-osx.md index 34e3f14be33..600eebb6ff4 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -60,7 +60,7 @@ brew install llvm And append the following to the configure commands below: ``` bash -CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ +-DCMAKE_C_COMPILER="$(brew --prefix llvm)/bin/clang" -DCMAKE_CXX_COMPILER="$(brew --prefix llvm)/bin/clang++" ``` Try `llvm@17` if compilation fails with the default version of llvm.