mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
trying to fix openssl lib issue
This commit is contained in:
parent
4afc4d6915
commit
9c06fa08fd
1 changed files with 8 additions and 2 deletions
|
@ -66,7 +66,12 @@ if (WIN32)
|
|||
list(APPEND CMAKE_PREFIX_PATH ${SOURCE_DIR}/lib/cmake)
|
||||
|
||||
set(SSL_DIR ${SOURCE_DIR}/ssl)
|
||||
et(OPENSSL_ROOT_DIR ${SSL_DIR})
|
||||
message("SSL dir is ${SSL_DIR}")
|
||||
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
|
||||
message("-- Found OpenSSL Libs ${OPENSSL_LIBRARIES}")
|
||||
|
||||
endif ()
|
||||
|
||||
|
@ -220,8 +225,9 @@ if (WIN32)
|
|||
target_link_libraries(${PROJECT_NAME}
|
||||
wsock32 ws2_32 Winmm version imm32 dwmapi
|
||||
Crypt32 Iphlpapi
|
||||
"${SSL_DIR}/lib/libeay32.lib"
|
||||
"${SSL_DIR}/lib/ssleay32.lib"
|
||||
#"${SSL_DIR}/lib/libeay32.lib"
|
||||
#"${SSL_DIR}/lib/ssleay32.lib"
|
||||
${OPENSSL_LIBRARIES}
|
||||
"${_qt5Core_install_prefix}/qml/QtQuick.2/qtquick2plugin.lib"
|
||||
"${_qt5Core_install_prefix}/qml/QtQuick/Controls.2/qtquickcontrols2plugin.lib"
|
||||
"${_qt5Core_install_prefix}/qml/QtQuick/Templates.2/qtquicktemplates2plugin.lib")
|
||||
|
|
Loading…
Reference in a new issue