On Mon, May 2, 2011 at 1:53 AM, Robert Nelson <[email protected]>wrote:
> > try ... setting Boost_DEBUG On > Great suggestion! > > I looked at the debug output as you recommended and discovered that > findboost only searches for filenames that start with "boost" while > all the files in the lib directory start with "libboost" > > I copied and renamed the regex files in the lib directory to start > with "boost" instead and it found the regex library but not the > others. So a possible solution would be to rename all the files in > the folder. This, however, is less than elegant. > > Is this a breaking change in the way the boost library files are > named, a bug in findboost, or did I install boost wrong somehow? > On Windows, the boost convention is to prefix shared libraries with "boost" and static libraries with "libboost". By default FindBoost searches for shared libraries since this matches CMake default behavior on Unix platforms. If you want FindBoost to search for static libraries instead, simply set: set(Boost_USE_STATIC_LIBS ON) -- Philip Lowman
_______________________________________________ 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
