Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaz Canabrava <tcanabrava@kde.org>2017-09-12 19:28:11 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2017-10-18 22:51:37 +0300
commitc358980448c0204cd2aacdba3b3833db005c240c (patch)
tree712b453caee5cd33bf0d83ff19e2eb7a5bd80f74 /CMakeLists.txt
parent42a3098595c38de8379da02de15d2053fff5a98d (diff)
[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
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c2540f689..f2fa757a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)