forked from communi/communi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicu.pri
26 lines (24 loc) · 746 Bytes
/
icu.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
######################################################################
# Communi
######################################################################
defineReplace(icuLibTarget) {
unset(LIBRARY_NAME)
LIBRARY_NAME = $$1
CONFIG(debug, debug|release) {
!debug_and_release|build_pass {
win32:RET = $$member(LIBRARY_NAME, 0)d
}
}
isEmpty(RET):RET = $$LIBRARY_NAME
return($$RET)
}
DEFINES += HAVE_ICU
contains(DEFINES, HAVE_ICU) {
win32:INCLUDEPATH += C:/ICU/include
macx:INCLUDEPATH += /opt/local/include
win32:LIBS += -LC:/ICU/lib
macx:LIBS += -L/opt/local/lib
win32:LIBS += -l$$icuLibTarget(icuin)
unix:LIBS += -licui18n -licudata
LIBS += -l$$icuLibTarget(icuuc)
}