Closed mellery451 closed 4 years ago
Another side (possibly unrelated..) note is that the config files seem to expect a Boost_COMPILER
value of the form vc141
(with no leading dash), but the classic find module seems to want it to include the leading dash (e.g. -vc141
). It's not a huge deal, but that is a small inconsistency that might trip-up people (like me). Thanks.
@pdimov is this a CMake issue?
It is a CMake issue.
I believe that this was fixed for either 1.71 or 1.72.
thanks - I'll update.
My Use case: I have built boost with VS2017 (vc141 toolset) and I would like to link to it in a VS2019 project (vc142 toolset). I thought setting
Boost_COMPILER
to "vc141" would allow this, but I always seem to hit the second case here in the config files:...that is, since
BOOST_DETECTED_TOOLSET
is always set to the auto-detected value (vc142 in my case), it hits the second return here and can't proceed to find the vc141 libs that do exist.Am I doing something wrong or is it possible that the
BOOST_DETECTED_TOOLSET
block above shouldn't be in the generated configs perhaps?