mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +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()
|
endif()
|
||||||
find_package(Sphinx)
|
find_package(Sphinx)
|
||||||
find_package(PdfLatex)
|
find_package(PdfLatex)
|
||||||
|
find_package(OpenSSL REQUIRED VERSION 1.0)
|
||||||
find_package(SQLite3 3.8.0 REQUIRED)
|
find_package(SQLite3 3.8.0 REQUIRED)
|
||||||
# On some OS, we want to use our own, not the system sqlite
|
# On some OS, we want to use our own, not the system sqlite
|
||||||
if (USE_OUR_OWN_SQLITE3)
|
if (USE_OUR_OWN_SQLITE3)
|
||||||
|
@ -197,6 +197,8 @@ if(BUILD_CLIENT)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
add_definitions(-DSQLITE_API=__declspec\(dllimport\))
|
add_definitions(-DSQLITE_API=__declspec\(dllimport\))
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(ZLIB)
|
find_package(ZLIB)
|
||||||
|
|
|
@ -99,6 +99,8 @@ ENDIF(NOT APPLE)
|
||||||
list(APPEND libsync_LINK_TARGETS
|
list(APPEND libsync_LINK_TARGETS
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
ocsync
|
ocsync
|
||||||
|
OpenSSL::Crypto
|
||||||
|
OpenSSL::SSL
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue