Bladeren bron

stop boost.locale use system icu library (#7521)

with icu=false , boost.locale will find and use system libicu-devel
setup BOOST_LOCALE_ENABLE_ICU to fix it.
xiongyang 1 maand geleden
bovenliggende
commit
420dd6d334
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      packages/b/boost/cmake/install.lua

+ 1 - 0
packages/b/boost/cmake/install.lua

@@ -86,6 +86,7 @@ function _add_libs_configs(package, configs)
     table.insert(configs, "-DBOOST_ENABLE_MPI=" .. (package:config("mpi") and "ON" or "OFF"))
     if package:config("locale") then
         table.insert(configs, "-DCMAKE_CXX_STANDARD=17")
+        table.insert(configs, "-DBOOST_LOCALE_ENABLE_ICU=" .. (package:config("icu") and "ON" or "OFF"))
     end
 
     _add_iostreams_configs(package, configs)