1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-11 16:56:24 +01:00

Merge pull request #2834

fb7470a build: find zbar header on macOS (selsta)
This commit is contained in:
luigi1111 2020-04-17 20:49:18 -05:00
commit 9760886eff
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -231,6 +231,14 @@ CONFIG(WITH_SCANNER) {
LIBS += -lzbarjni -liconv
} else {
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 {
message("Skipping camera scanner because of Incompatible Qt Version !")