[CMake] FindBoost (once again...)
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sun Nov 23 12:58:57 EST 2008
Andreas Pakulat schrieb:
> On 23.11.08 14:43:19, Christian Ehrlicher wrote:
>> Hi,
>>
>> FindBoost does not work for me on windows because of a wrong pathname:
>>
>> if (WIN32 AND NOT CYGWIN)
>> set(_boost_PATH_SUFFIX boost_${_boost_VER})
>> else (WIN32 AND NOT CYGWIN)
>> set(_boost_PATH_SUFFIX boost-${_boost_VER})
>> endif (WIN32 AND NOT CYGWIN)
>>
>> I installed boost with bjam and a directory <prefix>/include/boost-1_37/
>> is created. Therefore the above assumption that it's boost_1_37 is wrong.
>
> I suspect that the author used a binary boost package, but IIRC it wasn't
> me, so don't really know.
>
But why should the binary packages use another include dir? Strange... :(
>> Also the latest cvs binary for win32 still does not have support for
>> boost 1.37.
>
> Thats not a problem, see the top of FindBoost.cmake, you can set
> Boost_ADDITIONAL_VERSIONS prior to find_package to use newer boost
> packages.
>
Good idea but the sources are not mine.
And I don't care that 2.6.2 did not find it but 1.37 is out since three
weeks and cmake cvs still doesn't contain this version so I wanted to
make sure it's in 2.6.3 :)
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081123/b793e09b/attachment.pgp>
More information about the CMake
mailing list