Skip to content

Commit 44aa90e

Browse files
authored
Merge pull request #919 from redboltz/fix_readme_cpp_11_17
Fixed misleading flag notation.
2 parents 780c504 + ab36ce2 commit 44aa90e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,20 @@ C++03:
9999
$ make
100100
$ sudo make install
101101

102-
If you want to setup C++11 or C++17 version of msgpack instead,
102+
If you want to setup C++17 version of msgpack instead,
103103
execute the following commands:
104104

105105
$ git clone https://github.com/msgpack/msgpack-c.git
106106
$ cd msgpack-c
107107
$ git checkout cpp_master
108-
$ cmake -DMSGPACK_CXX[11|17]=ON .
108+
$ cmake -DMSGPACK_CXX17=ON .
109+
$ make
109110
$ sudo make install
110111

111-
`MSGPACK_CXX[11|17]` flag does not affect installation. It just switches test cases. All files are installed in every settings.
112+
For C++11, replace `-DMSGPACK_CXX17=ON` with `-DMSGPACK_CXX11=ON`.
113+
114+
`MSGPACK_CXX11` and `MSGPACK_CXX17` flags do not affect installation. They just switch test cases. All files are installed in every settings.
115+
112116

113117
#### GUI on Windows
114118

0 commit comments

Comments
 (0)