Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

Neumann-A
Copy link
Contributor

@Neumann-A Neumann-A commented Oct 6, 2020

fixes: https://discord.com/channels/400588936151433218/687365466422902841/762996065850621953

  if ( DEFINED CMAKE_C_COMPILER_ID AND DEFINED CMAKE_CXX_COMPILER_ID
       AND NOT "x${CMAKE_C_COMPILER_ID}" STREQUAL "x${CMAKE_CXX_COMPILER_ID}")
    message(FATAL_ERROR "The current configuration mixes Clang and MSVC or "
            "some other CL compatible compiler tool. This is not supported. "
            "Use either clang or MSVC as both C and C++ compilers.")
  endif()

CXX run was added in:
741c8cb

otherwise my custom llvm toolchain file fails.
@ras0219-msft ras0219-msft merged commit 587dc2e into microsoft:master Oct 6, 2020
@ras0219-msft
Copy link
Contributor

Thanks!

@Neumann-A Neumann-A deleted the patch-7 branch October 6, 2020 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants