mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +03:00
llvm-rc: Enable preprocessing for all Windows usage variants
Fixes: #21096
This commit is contained in:
committed by
Brad King
parent
7e72fe2ec9
commit
0ccd256787
@@ -173,6 +173,7 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC"
|
||||
|
||||
set(CMAKE_BUILD_TYPE_INIT Debug)
|
||||
|
||||
__enable_llvm_rc_preprocessing("")
|
||||
macro(__windows_compiler_clang lang)
|
||||
__windows_compiler_clang_gnu(${lang})
|
||||
endmacro()
|
||||
@@ -180,6 +181,7 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC"
|
||||
|
||||
else()
|
||||
include(Platform/Windows-GNU)
|
||||
__enable_llvm_rc_preprocessing("")
|
||||
macro(__windows_compiler_clang lang)
|
||||
__windows_compiler_gnu(${lang})
|
||||
endmacro()
|
||||
|
||||
Reference in New Issue
Block a user