"vscode:/vscode.git/clone" did not exist on "408480cd3d6a80f046f10f0607cbd57a4ff78e9f"
Unverified Commit 974349d0 authored by Jesse Beder's avatar Jesse Beder Committed by GitHub
Browse files

Fix typo in README about building shared libraries.

parent 5057a532
...@@ -21,7 +21,7 @@ If you find a bug, post an [issue](https://github.com/jbeder/yaml-cpp/issues)! I ...@@ -21,7 +21,7 @@ If you find a bug, post an [issue](https://github.com/jbeder/yaml-cpp/issues)! I
```sh ```sh
mkdir build mkdir build
cd build cd build
cmake [-G generator] [-YAML_BUILD_SHARED_LIBS=on|OFF] .. cmake [-G generator] [-DYAML_BUILD_SHARED_LIBS=on|OFF] ..
``` ```
* The `generator` option is the build system you'd like to use. Run `cmake` without arguments to see a full list of available generators. * The `generator` option is the build system you'd like to use. Run `cmake` without arguments to see a full list of available generators.
...@@ -29,7 +29,7 @@ cmake [-G generator] [-YAML_BUILD_SHARED_LIBS=on|OFF] .. ...@@ -29,7 +29,7 @@ cmake [-G generator] [-YAML_BUILD_SHARED_LIBS=on|OFF] ..
* On OS X, you might use "Xcode". * On OS X, you might use "Xcode".
* On a UNIX-like system, omit the option (for a Makefile). * On a UNIX-like system, omit the option (for a Makefile).
* `yaml-cpp` builds a static library by default, you may want to build a shared library by specifying `-YAML_BUILD_SHARED_LIBS=ON`. * `yaml-cpp` builds a static library by default, you may want to build a shared library by specifying `-DYAML_BUILD_SHARED_LIBS=ON`.
* For more options on customizing the build, see the [CMakeLists.txt](https://github.com/jbeder/yaml-cpp/blob/master/CMakeLists.txt) file. * For more options on customizing the build, see the [CMakeLists.txt](https://github.com/jbeder/yaml-cpp/blob/master/CMakeLists.txt) file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment