mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 20:19:01 +08:00
5955c45dcf
Explicitly disable icu feature if not selected in vcpkg Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
9 lines
298 B
CMake
9 lines
298 B
CMake
if("icu" IN_LIST FEATURES)
|
|
set(B2_REQUIREMENTS "<library>/user-config//icuuc <library>/user-config//icudt <library>/user-config//icuin <define>BOOST_HAS_ICU=1")
|
|
if(APPLE)
|
|
list(APPEND B2_OPTIONS cxxstd=11)
|
|
endif()
|
|
else()
|
|
list(APPEND B2_OPTIONS --disable-icu)
|
|
endif()
|