[CMAKE] Do not use USE_CLANG_CL variable in CMake scripts

This commit is contained in:
Victor Perevertkin 2022-05-26 02:03:50 +03:00
parent f155b9377f
commit 447ef2aa4a
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
14 changed files with 23 additions and 24 deletions

View file

@ -32,7 +32,7 @@ list(APPEND CRT_STDLIB_SOURCE
stdlib/wmakpath_s.c
)
if(USE_CLANG_CL)
if(MSVC AND CMAKE_C_COMPILER_ID STREQUAL "Clang")
if(ARCH STREQUAL "i386")
list(APPEND CRT_STDLIB_ASM_SOURCE
stdlib/clang-alias.s