mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
also add the boost lib folder in case we need to link something
This commit is contained in:
parent
b7226af4a1
commit
b88196c81c
2 changed files with 15 additions and 10 deletions
|
@ -34,6 +34,7 @@ include(dependencies/humanize.pri)
|
||||||
include(dependencies/fmt.pri)
|
include(dependencies/fmt.pri)
|
||||||
DEFINES += IRC_NAMESPACE=Communi
|
DEFINES += IRC_NAMESPACE=Communi
|
||||||
include(dependencies/libcommuni.pri)
|
include(dependencies/libcommuni.pri)
|
||||||
|
include(dependencies/boost.pri)
|
||||||
|
|
||||||
# Optional feature: QtWebEngine
|
# Optional feature: QtWebEngine
|
||||||
exists ($(QTDIR)/include/QtWebEngine/QtWebEngine) {
|
exists ($(QTDIR)/include/QtWebEngine/QtWebEngine) {
|
||||||
|
@ -42,16 +43,6 @@ exists ($(QTDIR)/include/QtWebEngine/QtWebEngine) {
|
||||||
DEFINES += "USEWEBENGINE"
|
DEFINES += "USEWEBENGINE"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include boost
|
|
||||||
win32 {
|
|
||||||
isEmpty(BOOST_DIRECTORY) {
|
|
||||||
message(Using default boost directory C:\\local\\boost\\)
|
|
||||||
BOOST_DIRECTORY = C:\local\boost\
|
|
||||||
}
|
|
||||||
|
|
||||||
INCLUDEPATH += $$BOOST_DIRECTORY
|
|
||||||
}
|
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
LIBS += -luser32
|
LIBS += -luser32
|
||||||
}
|
}
|
||||||
|
|
14
dependencies/boost.pri
vendored
Normal file
14
dependencies/boost.pri
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
pajlada {
|
||||||
|
BOOST_DIRECTORY = C:\dev\projects\boost_1_66_0\
|
||||||
|
}
|
||||||
|
|
||||||
|
win32 {
|
||||||
|
isEmpty(BOOST_DIRECTORY) {
|
||||||
|
message(Using default boost directory C:\\local\\boost\\)
|
||||||
|
BOOST_DIRECTORY = C:\local\boost\
|
||||||
|
}
|
||||||
|
|
||||||
|
INCLUDEPATH += $$BOOST_DIRECTORY
|
||||||
|
|
||||||
|
LIBS += -L$$BOOST_DIRECTORY\lib
|
||||||
|
}
|
Loading…
Reference in a new issue