aboutsummaryrefslogtreecommitdiff
path: root/scripts/detect_compiler
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-10-06 21:05:09 +0200
committerGitHub <noreply@github.com>2020-10-06 12:05:09 -0700
commit587dc2ed881b885f715fae623e6fee96ce526fe4 (patch)
treeb0276540d9ba645653606511f2f4e1f015601d6d /scripts/detect_compiler
parentdecc96c149bbbd44fc7e51ebd658b690f17c3d9e (diff)
downloadvcpkg-587dc2ed881b885f715fae623e6fee96ce526fe4.tar.gz
vcpkg-587dc2ed881b885f715fae623e6fee96ce526fe4.zip
[vcpkg] run both cxx and c compiler id. (#13903)
otherwise my custom llvm toolchain file fails.
Diffstat (limited to 'scripts/detect_compiler')
-rw-r--r--scripts/detect_compiler/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/detect_compiler/CMakeLists.txt b/scripts/detect_compiler/CMakeLists.txt
index 80961c40b..da45c98ae 100644
--- a/scripts/detect_compiler/CMakeLists.txt
+++ b/scripts/detect_compiler/CMakeLists.txt
@@ -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)