
committed by
Arvid Norberg

parent
2697a8ac74
commit
063bb0bbaf
@@ -636,7 +636,7 @@ if(OPENSSL_FOUND)
|
||||
|
||||
# TODO: needed until https://gitlab.kitware.com/cmake/cmake/issues/19263 is fixed
|
||||
if(WIN32 AND OPENSSL_USE_STATIC_LIBS)
|
||||
target_link_libraries(OpenSSL::Crypto INTERFACE crypt32)
|
||||
target_link_libraries(torrent-rasterbar PRIVATE crypt32)
|
||||
endif()
|
||||
|
||||
target_link_libraries(torrent-rasterbar PUBLIC OpenSSL::SSL)
|
||||
|
@@ -484,12 +484,6 @@ 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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Reference in New Issue
Block a user