<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mike Talbot wrote:
<blockquote cite="mid:464D67EA.60603@abingdon.oilfield.slb.com"
 type="cite">
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
I have made some enhancements to FindBoost.cmake to try to add support
for the boost libraries (attached).<br>
</blockquote>
<small><font face="Helvetica, Arial, sans-serif">Thanks, the
enhancements are welcome, the script now looks like this:</font></small><br>
<blockquote><small><font face="Courier New, Courier, monospace">project(signal
CXX)</font></small><br>
  <br>
  <small><font face="Courier New, Courier, monospace">if (MINGW)</font></small><br>
  <small><font face="Courier New, Courier, monospace">   
set(Boost_LIB_SUFFIX mgw34-s-1_34)</font></small><br>
  <small><font face="Courier New, Courier, monospace">   
set(Boost_LIB_PREFIX lib)</font></small><br>
  <small><font face="Courier New, Courier, monospace">endif(MINGW)</font></small><br>
  <br>
  <small><font face="Courier New, Courier, monospace">find_package(Boost)</font></small><br>
  <br>
  <small><font face="Courier New, Courier, monospace">include_directories(${Boost_INCLUDE_DIRS})</font></small><br>
  <small><font face="Courier New, Courier, monospace">link_directories(${Boost_LIBRARY_DIRS})</font></small><br>
  <br>
  <small><font face="Courier New, Courier, monospace">add_executable(signal
signal.cpp)</font></small><br>
  <small><font face="Courier New, Courier, monospace">if (MINGW)</font></small><br>
  <small><font face="Courier New, Courier, monospace">   
target_link_libraries(signal ${Boost_signals_LIBRARIES})</font></small><br>
  <small><font face="Courier New, Courier, monospace">endif(MINGW)</font></small><br>
</blockquote>
<small><font face="Helvetica, Arial, sans-serif">And it works with
VS8.0 and MinGW 3.4.2.<br>
<br>
Please update your findboost.cmake with the changes the original poster
made, by<br>
adding boost-1.34 (and others) to SUFFIX_FOR_PATH.<br>
<br>
Best regards,<br>
Cristi.</font></small><br>
</body>
</html>