0.5.1_alpha ICU support
git-svn-id: svn://db.shs.com.ru/pip@91 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -113,6 +113,17 @@ else ()
|
||||
endif ()
|
||||
|
||||
|
||||
# Check if ICU used for PIString and PIChar
|
||||
if (DEFINED ICU)
|
||||
message(STATUS "Building with ICU")
|
||||
unset(ICU)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_ICU")
|
||||
list(APPEND LIBS icuuc)
|
||||
else ()
|
||||
message(STATUS "Building without ICU, attention!")
|
||||
endif ()
|
||||
|
||||
|
||||
# Add library
|
||||
if (${WIN32})
|
||||
list(APPEND LIBS ws2_32 Iphlpapi Psapi)
|
||||
|
||||
Reference in New Issue
Block a user