You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgive me if I'm wrong: should this be self._get_winsdk_version(system_version, generator_platform) instead?
I have following conf in profile:
tools.cmake.cmaketoolchain:generator=Visual Studio 17 2022
tools.cmake.cmaketoolchain:system_version=10.0.22000
and now I get set(CMAKE_GENERATOR_PLATFORM "Visual Studio 17 2022,version=10.0.22000" CACHE STRING "" FORCE) in conan_toolchain.cmake, which seems incorrect.
This seems correct, I have managed to reproduce it, the problem was that this is only fired by the CMake new policy with latest CMake cmake_minimum_required(VERSION 3.27)
Forgive me if I'm wrong: should this be
self._get_winsdk_version(system_version, generator_platform)
instead?I have following conf in profile:
and now I get
set(CMAKE_GENERATOR_PLATFORM "Visual Studio 17 2022,version=10.0.22000" CACHE STRING "" FORCE)
inconan_toolchain.cmake
, which seems incorrect.Originally posted by @mocabe in #15272 (comment)
The text was updated successfully, but these errors were encountered: