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.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to