building libtorrent with cmake

i am building libtorrent with cmake, documentation here. i need help in specifying multiple build options.

command i am using

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G Ninja ..

Other build options are:
BUILD_SHARED_LIBS Defaults ON. Builds libtorrent as a shared library.
static_runtime Defaults OFF. Link libtorrent statically against the runtime libraries.
build_tests Defaults OFF. Also build the libtorrent tests.
build_examples Defaults OFF. Also build the examples in the examples directory.
build_tools Defaults OFF. Also build the tools in the tools directory.
python-bindings Defaults OFF. Also build the python bindings in bindings/python directory.
encryption Defaults ON. Support trackers and bittorrent over TLS, and obfuscated bittorrent connections.
Options are set on the cmake command line with the -D option or later on using ccmake or cmake-gui applications. cmake run outputs a summary of all available options and their current values.

Options are set on the cmake command line with the -D option

but when specify -D it shows error

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G Ninja … -D “build_examples”
CMake Error: Parse error in command line argument: build_examples

You need to give a value. So it should be -Dbuild_examples=ON, not -D build_examples.