Fix when statically linking with distro's boost: in this case, we most likely also...
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Nov 2012 08:51:35 +0000 (08:51 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Nov 2012 08:51:35 +0000 (08:51 +0000)
commit67031c1712eae091dd8c1ffaab43b7d9508bd446
tree411a7900d33ecfe57ebb29e84f7aeb53c7c1cd09
parent509e178f72565c3c45b56444dc5289acafb3ad96
Fix when statically linking with distro's boost: in this case, we most likely also need to statically link against icu, as most boost packages are built with it. Without that, you get a bunch of errors at link time (when using boost_locale, or, in freestyle branch, boost_regex).

So when you enable Boost_USE_STATIC_LIBS, you should also set Boost_USE_ICU to True. Will add a note about that in build doc too.
CMakeLists.txt
build_files/cmake/Modules/FindIcuLinux.cmake [new file with mode: 0644]
build_files/cmake/macros.cmake