mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +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 \
|
||||
src/dict/epwing_book.cc \
|
||||
src/dict/epwing_charmap.cc
|
||||
INCLUDEPATH += thirdparty
|
||||
HEADERS += $$files(thirdparty/eb/*.h)
|
||||
SOURCES += $$files(thirdparty/eb/*.c)
|
||||
if(win32){
|
||||
INCLUDEPATH += thirdparty
|
||||
HEADERS += $$files(thirdparty/eb/*.h)
|
||||
SOURCES += $$files(thirdparty/eb/*.c)
|
||||
}
|
||||
else{
|
||||
LIBS += -leb
|
||||
}
|
||||
}
|
||||
|
||||
CONFIG( chinese_conversion_support ) {
|
||||
|
|
Loading…
Reference in a new issue