mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
20 lines
562 B
Text
20 lines
562 B
Text
# websocketpp
|
|
# Chatterino2 is tested with websocketpp 0.8.1
|
|
# Exposed build flags:
|
|
# - WEBSOCKETPP_PREFIX ($$PWD by default)
|
|
# - WEBSOCKETPP_SYSTEM (1 = true) (unix only)
|
|
|
|
!defined(WEBSOCKETPP_PREFIX) {
|
|
WEBSOCKETPP_PREFIX = $$PWD
|
|
}
|
|
|
|
unix {
|
|
equals(WEBSOCKETPP_SYSTEM, "1") {
|
|
message("Building with system websocketpp")
|
|
} else {
|
|
message("Building with websocketpp submodule (Prefix: $$WEBSOCKETPP_PREFIX)")
|
|
INCLUDEPATH += $$WEBSOCKETPP_PREFIX/websocketpp/
|
|
}
|
|
} else {
|
|
INCLUDEPATH += $$WEBSOCKETPP_PREFIX/websocketpp
|
|
}
|