mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
[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:
parent
42a3098595
commit
c358980448
2 changed files with 5 additions and 1 deletions
|
@ -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}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue