fix gcc / clang link problem

This commit is contained in:
Roy Qu 2022-10-19 19:07:01 +08:00
parent 3bec88db50
commit acbe5a1c94
1 changed files with 6 additions and 3 deletions

View File

@ -55,16 +55,19 @@ msvc {
CONFIG(debug_and_release_target) {
CONFIG(debug, debug|release) {
OBJ_OUT_PWD = debug
OBJ_OUT_PWD = debug/
}
CONFIG(release, debug|release) {
OBJ_OUT_PWD = release
OBJ_OUT_PWD = release/
}
}
INCLUDEPATH += ../libs/qsynedit ../libs/redpanda_qt_utils
LIBS += $$OUT_PWD/../libs/qsynedit/$${OBJ_OUT_PWD}libqsynedit.a
gcc | clang {
LIBS += $$OUT_PWD/../libs/qsynedit/$${OBJ_OUT_PWD}libqsynedit.a \
$$OUT_PWD/../libs/redpanda_qt_utils/$${OBJ_OUT_PWD}libredpanda_qt_utils.a
}
SOURCES += \
HighlighterManager.cpp \