mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-03-12 09:36:59 +00:00
build: find zbar header on macOS
This commit is contained in:
parent
8e4124f06a
commit
fb7470a2a6
1 changed files with 8 additions and 0 deletions
|
@ -231,6 +231,14 @@ CONFIG(WITH_SCANNER) {
|
||||||
LIBS += -lzbarjni -liconv
|
LIBS += -lzbarjni -liconv
|
||||||
} else {
|
} else {
|
||||||
LIBS += -lzbar
|
LIBS += -lzbar
|
||||||
|
macx {
|
||||||
|
ZBAR_DIR = $$system(brew --prefix zbar, lines, EXIT_CODE)
|
||||||
|
equals(EXIT_CODE, 0) {
|
||||||
|
INCLUDEPATH += $$ZBAR_DIR/include
|
||||||
|
} else {
|
||||||
|
INCLUDEPATH += /usr/local/include
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
message("Skipping camera scanner because of Incompatible Qt Version !")
|
message("Skipping camera scanner because of Incompatible Qt Version !")
|
||||||
|
|
Loading…
Reference in a new issue