diff --git a/docs/building.rst b/docs/building.rst index 64821a21d..bac775d14 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -484,6 +484,12 @@ Other build options are: 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. +.. note:: + + If you are linking statically against OpenSSL on Windows and not using ``-Dstatic_runtime=ON``, + you should additionally use the option ``-DOPENSSL_USE_STATIC_LIBS=ON``. + If you use ``-Dstatic_runtime=ON``, ``-DOPENSSL_USE_STATIC_LIBS=ON`` is implied. + Step 2: Building libtorrent ~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -647,4 +653,3 @@ in a command shell:: This will also install the headers and library files in the visual studio directories to be picked up by libtorrent. -