llvm-rc: Enable preprocessing for all Windows usage variants

Fixes: #21096
This commit is contained in:
Thomas Bernard
2020-08-26 21:41:09 +02:00
committed by Brad King
parent 7e72fe2ec9
commit 0ccd256787

View File

@@ -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()