[vcpkg] run both cxx and c compiler id. (#13903)

otherwise my custom llvm toolchain file fails.
This commit is contained in:
Alexander Neumann 2020-10-06 21:05:09 +02:00 committed by GitHub
parent decc96c149
commit 587dc2ed88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -3,7 +3,6 @@ project(detect_compiler NONE)
if(CMAKE_GENERATOR STREQUAL "Ninja" AND CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(CMAKE_C_COMPILER_WORKS 1)
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_COMPILER_FORCED 1)
set(CMAKE_CXX_COMPILER_WORKS 1)
set(CMAKE_CXX_COMPILER_FORCED 1)