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)