Add ability to customize openssl directory

This commit is contained in:
Rasmus Karlsson 2018-04-15 16:11:38 +02:00
parent 23cf8cc484
commit a4c1f87aea

View file

@ -1,7 +1,12 @@
win32 { win32 {
INCLUDEPATH += C:/local/openssl/include isEmpty(OPENSSL_DIRECTORY) {
message(Using default openssl directory C:\\local\\openssl)
OPENSSL_DIRECTORY = C:\local\openssl
}
LIBS += -LC:\local\openssl\lib INCLUDEPATH += $$OPENSSL_DIRECTORY\\include
LIBS += -L$$OPENSSL_DIRECTORY\lib
LIBS += -llibssl LIBS += -llibssl
LIBS += -llibcrypto LIBS += -llibcrypto