Browse Source

building.md: fix clang/clang++ arg

Whilst most versions of clang autodetect whether the code is C or C++ it seems
more recent versions do not do this correctly. Fix the doc to make sure this
works all the time

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Brendan Le Foll 10 years ago
parent
commit
3494bd2008
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      docs/building.md

+ 1
- 1
docs/building.md View File

@@ -25,7 +25,7 @@ Building debug build:
25 25
  -DCMAKE_BUILD_TYPE=DEBUG
26 26
 
27 27
 Using clang instead of gcc:
28
- -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang
28
+ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
29 29
 
30 30
 Building with an older version of swig (swig 2.0+) requires the disabling of javascript:
31 31
  -DBUILDSWIGNODE=OFF