forked from premiere/premiere-libtorrent
fix using OpenSSL static libs in CMake build
This commit is contained in:
parent
d8be9312ec
commit
605bdadeff
|
@ -487,12 +487,12 @@ if(static_runtime)
|
||||||
ucm_set_runtime(STATIC)
|
ucm_set_runtime(STATIC)
|
||||||
set(Boost_USE_MULTITHREADED ON)
|
set(Boost_USE_MULTITHREADED ON)
|
||||||
set(Boost_USE_STATIC_RUNTIME ON)
|
set(Boost_USE_STATIC_RUNTIME ON)
|
||||||
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
set(OPENSSL_MSVC_STATIC_RT ON)
|
||||||
set(OPENSSL_MSVC_STATIC_RT TRUE)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT BUILD_SHARED_LIBS)
|
if (NOT BUILD_SHARED_LIBS)
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
|
set(OPENSSL_USE_STATIC_LIBS ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(torrent-rasterbar
|
add_library(torrent-rasterbar
|
||||||
|
|
Loading…
Reference in New Issue