MarkSchofield / WindowsToolchain

A repository containing a CMake toolchain for using MSVC
MIT License
106 stars 19 forks source link

Windows.Clang.toolchain.cmake need not set CMAKE_<LANG>_COMPILER_ID and CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT #86

Closed MarkSchofield closed 1 year ago

MarkSchofield commented 1 year ago

A little clean-up to Windows.Clang.toolchain.cmake: There's no need to set CMAKE_<LANG>_COMPILER_ID and CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT. Just setting CMAKE_<LANG>_COMPILER is sufficient; CMake correctly identifies the variables.