提交 3847b7dd 编写于 作者: Z zdenop 提交者: GitHub

Merge pull request #1085 from KindDragon/patch-1

Added CMake option to use system ICU library
...@@ -11,7 +11,7 @@ if (CPPAN_BUILD) ...@@ -11,7 +11,7 @@ if (CPPAN_BUILD)
endif() endif()
# experimental # experimental
if (MSVC AND NOT CPPAN_BUILD) if (MSVC AND NOT CPPAN_BUILD AND NOT USE_SYSTEM_ICU)
include(CheckTypeSize) include(CheckTypeSize)
check_type_size("void *" SIZEOF_VOID_P) check_type_size("void *" SIZEOF_VOID_P)
...@@ -56,7 +56,7 @@ endif() ...@@ -56,7 +56,7 @@ endif()
# experimental # experimental
if (NOT CPPAN_BUILD) if (NOT CPPAN_BUILD)
find_package(ICU COMPONENTS uc i18n) find_package(ICU COMPONENTS uc i18n)
endif() endif()
######################################## ########################################
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册