Skip to content

Commit 8d7f8fa

Browse files
committed
doc: fix compiler flags for macOS configuration
1 parent d4cc0c6 commit 8d7f8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/build-osx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ brew install llvm
6060
And append the following to the configure commands below:
6161

6262
``` bash
63-
CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++
63+
-DCMAKE_C_COMPILER="$(brew --prefix llvm)/bin/clang" -DCMAKE_CXX_COMPILER="$(brew --prefix llvm)/bin/clang++"
6464
```
6565

6666
Try `llvm@17` if compilation fails with the default version of llvm.

0 commit comments

Comments
 (0)