From 3494bd200897e65bd69d82fb74212cc3ed7fdbc8 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Sat, 17 Jan 2015 10:04:56 +0000 Subject: [PATCH] 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 Signed-off-by: Sarah Knepper --- docs/building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/building.md b/docs/building.md index 2ea1c449..23c6e3f9 100644 --- a/docs/building.md +++ b/docs/building.md @@ -25,7 +25,7 @@ Building debug build: -DCMAKE_BUILD_TYPE=DEBUG Using clang instead of gcc: - -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang + -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ Building with an older version of swig (swig 2.0+) requires the disabling of javascript: -DBUILDSWIGNODE=OFF