Skip to content

Commit

Permalink
QMake build now uses pkg-config to link against openssl and zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 7, 2016
1 parent f7296fa commit b3581a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions telegram-qt/telegram-qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ contains(options, static-lib) {
}

CONFIG += c++11
CONFIG += link_pkgconfig
PKGCONFIG += openssl zlib

DEFINES += TELEGRAMQT_LIBRARY

Expand Down Expand Up @@ -55,6 +57,3 @@ contains(options, developer-build) {
}

OTHER_FILES += CMakeLists.txt

LIBS += -lssl -lcrypto
LIBS += -lz

0 comments on commit b3581a2

Please sign in to comment.