summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2019-02-11 13:35:22 -0800
committerKirk Shoop <kirk.shoop@gmail.com>2019-02-11 17:40:55 -0800
commit8683567710e78751ef5626315151f4feb63e3867 (patch)
tree18d076db06a9d9ed0b56b50bc143cf3ec5d5e173
parent22542150bf322d79ec77b3f035cdd4203762da4e (diff)
downloadRxCpp-8683567710e78751ef5626315151f4feb63e3867.tar.gz
README: fix cmake generation snippet for clang/linux
clang should be told to use libc++, otherwise it will try to use libstdc++ which may be missing on some systems. Resolves: #478
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3cb7426..228121e 100644
--- a/README.md
+++ b/README.md
@@ -191,7 +191,7 @@ make
```shell
mkdir projects/build
cd projects/build
-cmake -G"Unix Makefiles" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -B. ../CMake
+cmake -G"Unix Makefiles" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -B. ../CMake
make
```