mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
19 lines
390 B
Plaintext
19 lines
390 B
Plaintext
# fmt
|
|
# Chatterino2 is tested with FMT 4.0
|
|
# Exposed build flags:
|
|
# - FMT_PREFIX ($$PWD by default)
|
|
# - FMT_SYSTEM (1 = true) (Linux only, uses pkg-config)
|
|
|
|
!defined(FMT_PREFIX) {
|
|
FMT_PREFIX = $$PWD
|
|
}
|
|
|
|
linux:equals(FMT_SYSTEM, "1") {
|
|
message("Building with system FMT")
|
|
PKGCONFIG += fmt
|
|
} else {
|
|
SOURCES += $$FMT_PREFIX/fmt/fmt/format.cpp
|
|
|
|
INCLUDEPATH += $$PWD/fmt/
|
|
}
|