On Thu, Feb 19, 2009 at 12:52 PM, Peter Simons <[email protected]> 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.
It's not gcc43 being mangled into the filename. The problem is FindBoost.cmake from CMake 2.6.2 does not look for Boost 1.37.0 or newer by default. Either you update to CMake CVS (or 2.6.3RC), or you do this: SET( Boost_ADDITIONAL_VERSIONS 1.38 1.38.0 ) -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) _______________________________________________ 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
