The toolchain must be set up outside of CMake; CMake cannot make environment settings available during the build for every generator, so it doesn’t provide such support. See this thread for more discussion of this.
The toolchain must be set up outside of CMake; CMake cannot make environment settings available during the build for every generator, so it doesn’t provide such support. See this thread for more discussion of this.