[CMAKE] Fixes for clang-cl build

- User lib.exe instead of llvm-lib due to incompatibility
- Avoid wrapping resource compiler with cmcldeps
- Fix several conditional flags
This commit is contained in:
Victor Perevertkin 2021-09-13 23:39:03 +03:00
parent d74eb54b06
commit 62d1a2c884
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
3 changed files with 11 additions and 2 deletions

View file

@ -79,7 +79,7 @@ else()
message("WARNING: the compiler has not been recognized")
endif()
if(MSVC AND (NOT USE_CLANG_CL))
if(MSVC)
set(KDBG FALSE CACHE BOOL
"Whether to compile in the integrated kernel debugger.")
if(CMAKE_BUILD_TYPE STREQUAL "Release")