From 7a086198e573df70d9a074159019344d24e59066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=BB=D0=B8=D0=BF=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Fri, 6 Mar 2020 18:04:22 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@912 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b156839e..bea88a1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,14 +6,14 @@ set(PIP_BUILD 1) include(CheckFunctionExists) include(PIPMacros.cmake) -set(_ICU_DEFAULT ON) -if(APPLE) - set(_ICU_DEFAULT OFF) +set(_ICU_DEFAULT OFF) +if((NOT DEFINED WIN32) AND (DEFINED ANDROID_PLATFORM) AND (DEFINED APPLE)) + set(_ICU_DEFAULT ON) endif() # Options -option(ICU "Unicode support" ${_ICU_DEFAULT}) +option(ICU "ICU for unicode support" ${_ICU_DEFAULT}) option(STD_IOSTREAM "Building with std iostream operators support" OFF) option(INTROSPECTION "Build with introspection" OFF) option(LIB "System install" ON)