зеркало из https://github.com/nextcloud/desktop.git
[cse] Link Against OpenSSL
For some reason, this was working untill I added a call to X509_REQ_get_subject_name, then the linking suddenly stopped working (even tougth I'm using a ton of other OpenSSL calls) Force to link against 1.0
This commit is contained in:
Родитель
42a3098595
Коммит
c358980448
|
@ -189,7 +189,7 @@ if(BUILD_CLIENT)
|
|||
endif()
|
||||
find_package(Sphinx)
|
||||
find_package(PdfLatex)
|
||||
|
||||
find_package(OpenSSL REQUIRED VERSION 1.0)
|
||||
find_package(SQLite3 3.8.0 REQUIRED)
|
||||
# On some OS, we want to use our own, not the system sqlite
|
||||
if (USE_OUR_OWN_SQLITE3)
|
||||
|
@ -197,6 +197,8 @@ if(BUILD_CLIENT)
|
|||
if (WIN32)
|
||||
add_definitions(-DSQLITE_API=__declspec\(dllimport\))
|
||||
endif()
|
||||
|
||||
|
||||
endif()
|
||||
|
||||
find_package(ZLIB)
|
||||
|
|
|
@ -99,6 +99,8 @@ ENDIF(NOT APPLE)
|
|||
list(APPEND libsync_LINK_TARGETS
|
||||
${QT_LIBRARIES}
|
||||
ocsync
|
||||
OpenSSL::Crypto
|
||||
OpenSSL::SSL
|
||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче