aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boost-regex/compat.diff
blob: 277de6a0221a517b4b532f530b587ebd3511adfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ccd4223..a0f58a3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,9 +34,9 @@ else()
 endif()
 
 find_package(ICU COMPONENTS data i18n uc QUIET)
-#option(BOOST_REGEX_ENABLE_ICU "Boost.Regex: enable ICU support" ${ICU_FOUND})
+option(BOOST_REGEX_ENABLE_ICU "Boost.Regex: enable ICU support" ${ICU_FOUND})
 
-if(ICU_FOUND)
+if(BOOST_REGEX_ENABLE_ICU)
 
    add_library(boost_regex_icu INTERFACE)
    add_library(Boost::regex_icu ALIAS boost_regex_icu)