mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Use pkg-config to detect (lib)unarr on unix
This commit is contained in:
parent
0b14e7a830
commit
169904421c
@ -6,9 +6,10 @@ HEADERS += $$PWD/extract_delegate.h \
|
||||
|
||||
SOURCES += $$PWD/compressed_archive.cpp \
|
||||
|
||||
unix:!macx:exists (/usr/include/unarr.h) {
|
||||
unix:!macx {
|
||||
message(Using system provided unarr installation)
|
||||
LIBS+=-lunarr
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += libunarr
|
||||
DEFINES += use_unarr
|
||||
}
|
||||
else:macx:exists (../../dependencies/unarr/macx/libunarr.a) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user