Skip to content
Snippets Groups Projects
Commit c2de1261 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix windows linkage

parent 17f8ce30
No related branches found
No related tags found
No related merge requests found
......@@ -10,13 +10,13 @@ if (USESYSTEMLIBS)
else (USESYSTEMLIBS)
use_prebuilt_binary(openssl)
if (WINDOWS)
set(SSLEAY_LIBRARY
debug ${ARCH_PREBUILT_DIRS_DEBUG}/ssleay32.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/ssleay32.lib)
set(LIBEAY_LIBRARY
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libeay32.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libeay32.lib)
set(OPENSSL_LIBRARIES ${SSLEAY_LIBRARY} ${LIBEAY_LIBRARY})
set(SSL_LIBRARY
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libssl.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libssl.lib)
set(CRYPTO_LIBRARY
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libcrypto.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libcrypto.lib)
set(OPENSSL_LIBRARIES ${SSL_LIBRARY} ${CRYPTO_LIBRARY})
else (WINDOWS)
set(OPENSSL_LIBRARIES ssl crypto)
endif (WINDOWS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment