[CMake] How to find versioned Boost libraries?
Andreas Pakulat
apaku at gmx.de
Thu Feb 19 07:10:46 EST 2009
On 19.02.09 12:52:14, Peter Simons wrote:
> Hi,
>
> I'm having trouble using CMake's FindBoost() with versioned libraries.
> Boost.System, for example, exists in the following variants:
>
> libboost_system-gcc43-mt-1_38.a
> libboost_system-gcc43-mt.a
> libboost_system-gcc43-1_38.a
> libboost_system-gcc43.a
> ...
>
> Apparently, CMake 2.6.2 won't recognize that library because of the "gcc43"
> identifier mangled into the filename.
FindBoost.cmake does check for the compiler version and adds that to the
string. I suggest to put some debug-messages into FindBoost.cmake to find
out where it really fails.
Andreas
--
Beware the one behind you.
More information about the CMake
mailing list