Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoostDetectToolset.cmake needs to be updated to support detection of vc143 toolset with MSVC 2022 #59

Closed
adnsv opened this issue Feb 11, 2022 · 3 comments

Comments

@adnsv
Copy link

adnsv commented Feb 11, 2022

When calling BoostDetectToolset.cmake using MSVC 2022 compilers, BOOST_DETECTED_TOOLSET contains an empty string.

to fix: around line 92 in BoostDetectToolset.cmake: please add a couple lines as shown below:

if((MSVC_VERSION GREATER 1929) AND (MSVC_VERSION LESS 1940))
    set(BOOST_DETECTED_TOOLSET "vc143")
elseif((MSVC_VERSION GREATER 1919) AND (MSVC_VERSION LESS 1930))
    set(BOOST_DETECTED_TOOLSET "vc142")
else ...
@mclow mclow transferred this issue from boostorg/boost_install Feb 11, 2022
@pdimov pdimov transferred this issue from boostorg/cmake Feb 11, 2022
@pdimov
Copy link
Member

pdimov commented Feb 11, 2022

Marshall, please don't transfer my issues to wrong repositories.

@mclow
Copy link

mclow commented Feb 11, 2022

Sorry, I thought that was where it belonged.

@pdimov
Copy link
Member

pdimov commented Feb 11, 2022

It was already submitted against the correct repo, boostorg/boost_install, which I maintain.

@pdimov pdimov closed this as completed in d819e41 Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants