STEllAR-GROUP/hpx — pull request #1272 by zao (2014-09-22 16:39:52+00:00)
Title: Avoid CMake name clash for Boost.Thread library

FindBoost uses Boost_THREAD_LIBRARY to denote the library filename to
link when using Boost.Thread.

HPX_SetupBoost.cmake used BOOST_THREAD_LIBRARY as the target to detect
the underlying platform threading library used by Boost.Thread. As
find_library avoids the search if the cache variable exists, this search
was always a no-op.

The temporary name is now instead BOOST_UNDERLYING_THREAD_LIBRARY.