
Look at how Boost.Regex does it. It also uses ICU.
As I already mentioned: Boost.Regex ICU library search has a bug -- it does not search correctly debug/release versions when using MSVC compiler. Also it too tighten to specific platforms/implementations. So I ask if there is any standard way to do this, as today lib z ; But with fallback, with error reporting if not found, with options to search where is the library. I assume that ICU is not the only 3rd part library that Boost uses so Boost.Build should have some generic find_library like functionality I just can't find any documentation for it. BTW: Is there anything like CMAKE_INCLUDE_PATH/CMAKE_LIBRARY_PATH of CMake or autotools CXXFLAGS/LDFLAGS that allow to pass a path to libraries -- but in generic way -- to all modules. Artyom