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

_______________________________________________
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