[CMake] FindBoost.cmake: please test

Mike Jackson imikejackson at gmail.com
Sun Jan 20 10:51:15 EST 2008

On Jan 20, 2008, at 7:15 AM, Hendrik Sattler wrote:

> -s simply means static according to the above pages. Is static  
> linking to
> boost not supported by the module?

Everyone should review the following page:


-s means you are statically linking to the C++ runtime provided by  
Microsoft, and is true for all the other platforms as well. Which  
means you can have a boost dynamic library that statically links to  
the C++ runtime..

In the original FindBoost.cmake that I wrote, I had cmake variables  
that could be set for each of the boost compile variations. Since  
people can build boost (or download it) in any of a multitude of  
configurations then my suggestion would be to find the most popular  
downloads for each platform and support those configurations out of  
the box. For those like myself who build boost we know enough how to  
set the cmake variables to find our boost libs.

Just my 2 cents.

Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services

More information about the CMake mailing list