Browse Source

llvm-rc: Enable preprocessing for all Windows usage variants

Fixes: #21096
Thomas Bernard 5 năm trước cách đây
mục cha
commit
0ccd256787
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Modules/Platform/Windows-Clang.cmake

+ 2 - 0
Modules/Platform/Windows-Clang.cmake

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