mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
opt: only use eb source on Windows
This commit is contained in:
parent
d1f5024b2b
commit
136d1cb03b
|
@ -571,9 +571,14 @@ CONFIG( no_epwing_support ) {
|
||||||
SOURCES += src/dict/epwing.cc \
|
SOURCES += src/dict/epwing.cc \
|
||||||
src/dict/epwing_book.cc \
|
src/dict/epwing_book.cc \
|
||||||
src/dict/epwing_charmap.cc
|
src/dict/epwing_charmap.cc
|
||||||
|
if(win32){
|
||||||
INCLUDEPATH += thirdparty
|
INCLUDEPATH += thirdparty
|
||||||
HEADERS += $$files(thirdparty/eb/*.h)
|
HEADERS += $$files(thirdparty/eb/*.h)
|
||||||
SOURCES += $$files(thirdparty/eb/*.c)
|
SOURCES += $$files(thirdparty/eb/*.c)
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
LIBS += -leb
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG( chinese_conversion_support ) {
|
CONFIG( chinese_conversion_support ) {
|
||||||
|
|
Loading…
Reference in a new issue