mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
16 lines
403 B
Plaintext
16 lines
403 B
Plaintext
# rapidjson
|
|
# Chatterino2 is tested with RapidJSON v1.1.0
|
|
# - RAPIDJSON_PREFIX ($$PWD by default)
|
|
# - RAPIDJSON_SYSTEM (1 = true) (Linux only, uses pkg-config)
|
|
|
|
!defined(RAPIDJSON_PREFIX) {
|
|
RAPIDJSON_PREFIX = $$PWD
|
|
}
|
|
|
|
linux:equals(RAPIDJSON_SYSTEM, "1") {
|
|
message("Building with system RapidJSON")
|
|
PKGCONFIG += RapidJSON
|
|
} else {
|
|
INCLUDEPATH += $$RAPIDJSON_PREFIX/rapidjson/include/
|
|
}
|