From d426f72453a09bb2b5f779f973b51525b04e60db Mon Sep 17 00:00:00 2001 From: fourtf Date: Mon, 7 Oct 2019 16:12:36 +0200 Subject: [PATCH] fixed missing linker thing on mac and linux --- chatterino.pro | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/chatterino.pro b/chatterino.pro index 14e69030c..3f81ae7d4 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -25,6 +25,17 @@ win32-msvc* { QMAKE_CXXFLAGS += -std=c++17 } +linux { + LIBS += -lrt + QMAKE_LFLAGS += -lrt +} + +macx { + INCLUDEPATH += /usr/local/include + INCLUDEPATH += /usr/local/opt/openssl/include + LIBS += -L/usr/local/opt/openssl/lib +} + # https://bugreports.qt.io/browse/QTBUG-27018 equals(QMAKE_CXX, "clang++")|equals(QMAKE_CXX, "g++") { TARGET = bin/chatterino @@ -41,6 +52,7 @@ macx { # Set C_DEBUG if it's a debug build CONFIG(debug, debug|release) { DEFINES += C_DEBUG + DEFINES += QT_DEBUG } # Submodules