Skip to content

Commit 56d8598

Browse files
authored
Merge pull request #8729 from tautschnig/fix-macos-cmake
Fix macOS compilation instructions for CMake
2 parents cdee49c + 16a9ab2 commit 56d8598

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

COMPILING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ files.
9090
```
9191
9292
On macOS >10.14, the build will fail unless you explicitly specify
93-
the full path to the compiler. This issue is being tracked
94-
[here](https://github.com/diffblue/cbmc/issues/4956). The invocation thus
93+
both the C and C++ compilers to avoid C++ standard library not found
94+
errors. This issue is being tracked
95+
[here](https://github.com/diffblue/cbmc/issues/8683). The invocation thus
9596
looks like this:
9697
```
97-
cmake -S. -Bbuild -DCMAKE_C_COMPILER=/usr/bin/clang
98+
cmake -S. -Bbuild -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
9899
```
99100
100101
Generally it is not necessary to manually specify individual compiler or

0 commit comments

Comments
 (0)