Skip to content

Commit d171488

Browse files
authored
Added CMake option to use system ICU library
1 parent 7afa05a commit d171488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

training/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (CPPAN_BUILD)
1111
endif()
1212

1313
# experimental
14-
if (MSVC AND NOT CPPAN_BUILD)
14+
if (MSVC AND NOT CPPAN_BUILD AND NOT USE_SYSTEM_ICU)
1515
include(CheckTypeSize)
1616
check_type_size("void *" SIZEOF_VOID_P)
1717

@@ -56,7 +56,7 @@ endif()
5656
# experimental
5757

5858
if (NOT CPPAN_BUILD)
59-
find_package(ICU COMPONENTS uc i18n)
59+
find_package(ICU COMPONENTS uc i18n)
6060
endif()
6161

6262
########################################

0 commit comments

Comments
 (0)