Hi Doug,

I'd like to let you know that when compiling boost with bjam on
various different compiler with layout=system flag set results in
version number being stripped from the library name. This results in
Boost system library not being found even if it's present. Here's a
suggested patch for this before someone else stumbles upon this. The
patch below still does not cover the situation where someone has a
boost 1.34 installed with layout=system option enabled during
compilation so maybe there's a better way around this ? I think the
patch below somewhat conveys the idea of what I'm writing about :)

diff --git a/cmake/FindBoost.cmake b/cmake/FindBoost.cmake
index acbdd74..26c88ee 100644
--- a/cmake/FindBoost.cmake
+++ b/cmake/FindBoost.cmake
@@ -80,11 +80,11 @@ macro(FIND_BOOST_PARENT root includedir)
   # Look for the boost library path.
   # Note that the user may not have installed any libraries
   # so it is quite possible the library path may not exist.
+  set (Boost_HAS_SYSTEM_LIB true)
   set(${root} ${includedir})
   if (${${root}} MATCHES "boost-[0-9]+")
     # Check for Boost 1.34
     # which doesn't have a separate System Lib
-    set (Boost_HAS_SYSTEM_LIB true)
     if (${${root}} MATCHES "boost-1_34")
       message(STATUS "Boost 1_34 found. Disable Boost system library.")
       set(Boost_HAS_SYSTEM_LIB  false)


Mateusz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to