[CMake] FindBoost.cmake in 2.8.2 _Boost_KNOWN_VERSIONS variable

Dixon, Shane Shane.Dixon at atmel.com
Wed Aug 25 15:35:36 EDT 2010


I was had trouble getting FindBoost.cmake to work correctly and I found that there was a variable I had to adjust in the FindBoost.cmake file:

 

set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS}

    "1.41.0" "1.41" "1.40.0" "1.40" "1.39.0" "1.39" "1.38.0" "1.38" "1.37.0" "1.37"

    "1.36.1" "1.36.0" "1.36" "1.35.1" "1.35.0" "1.35" "1.34.1" "1.34.0"

    "1.34" "1.33.1" "1.33.0" "1.33")

 

I'm using cmake 2.8.8.  I had to add "1.44.0" to the list because that's the newest version.  From their website it looks like this file ought to be fixed to reflect the new versions:

 

set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS}

    "1.44.0" "1.44" "1.43.0" "1.43" "1.42.0" "1.42" "1.41.0" "1.41" "1.40.0" "1.40" 

    "1.39.0" "1.39" "1.38.0" "1.38" "1.37.0" "1.37" "1.36.1" "1.36.0" "1.36" "1.35.1" "1.35.0" 

    "1.35" "1.34.1" "1.34.0" "1.34" "1.33.1" "1.33.0" "1.33")

 

Maybe there's a pre-release checklist of items that get updated before each list that this can be added to.  It looks like this variable will need to be constantly updated.  After I added "1.44.0" to the list, it works as expected.

 

--

Shane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100825/094340b8/attachment.htm>


More information about the CMake mailing list