FindBoost does not find Boost 1.69.0 built with --layout=tagged
FindBoost (in CMake 3.14.0-rc1, but I believe previous versions, as well) doesn't appear to be looking for the library names emitted from the Boost 1.69.0 build when building with --layout=tagged
.
This produces, for example, library names of the form
boost_system-mt-x64
boost_system-mt-d-x64
I am using FindBoost with these settings:
set(Boost_USE_STATIC_LIBS true)
set(Boost_USE_MULTITHREADED true)
set(Boost_MINIMUM_VERSION "1.64")
set(Boost_ADDITIONAL_VERSIONS "1.64.0" "1.64")
set(Boost_NO_BOOST_CMAKE ON)
set(Boost_NO_SYSTEM_PATHS ON)
set(Boost_ARCHITECTURE "-x64")
set(Boost_DEBUG ON)
...which results in the following search list being emitted:
Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc7-mt-x64-1_69;boost_system-gcc7-mt;boost_system-mt-x64-1_69;boost_system-mt;boost_system-mt;boost_system
Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc7-mt-d-x64-1_69;boost_system-gcc7-mt-d;boost_system-mt-d-x64-1_69;boost_system-mt-d;boost_system-mt;boost_system
Edited by Braden McDaniel