mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06: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