Clang GNU-like clang with MSVC ABI: No CMAKE_RC_COMPILER found
I've tried the official LLVM Clang 7.0.1 binaries with the GNU-like clang and MinGW 8.1.0 backend, and it fails because of missing CMAKE_RC_COMPILER
.
CMake suite maintained and supported by Kitware (kitware.com/cmake).
-- The C compiler identification is Clang 7.0.1 with GNU-like command-line
-- The CXX compiler identification is Clang 7.0.1 with GNU-like command-line
CMake Error at C:/Tools/cmake-dev/share/cmake-3.15/Modules/Platform/Windows-Clang.cmake:81 (enable_language):
No CMAKE_RC_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "RC" or the CMake cache entry CMAKE_RC_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
C:/Tools/cmake-dev/share/cmake-3.15/Modules/Platform/Windows-Clang.cmake:121 (__windows_compiler_clang_gnu)
C:/Tools/cmake-dev/share/cmake-3.15/Modules/Platform/Windows-Clang-C.cmake:2 (__windows_compiler_clang)
C:/Tools/cmake-dev/share/cmake-3.15/Modules/CMakeCInformation.cmake:48 (include)
CMakeLists.txt:1 (project)