mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -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)
|
set(CMAKE_BUILD_TYPE_INIT Debug)
|
||||||
|
|
||||||
|
__enable_llvm_rc_preprocessing("")
|
||||||
macro(__windows_compiler_clang lang)
|
macro(__windows_compiler_clang lang)
|
||||||
__windows_compiler_clang_gnu(${lang})
|
__windows_compiler_clang_gnu(${lang})
|
||||||
endmacro()
|
endmacro()
|
||||||
@@ -180,6 +181,7 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC"
|
|||||||
|
|
||||||
else()
|
else()
|
||||||
include(Platform/Windows-GNU)
|
include(Platform/Windows-GNU)
|
||||||
|
__enable_llvm_rc_preprocessing("")
|
||||||
macro(__windows_compiler_clang lang)
|
macro(__windows_compiler_clang lang)
|
||||||
__windows_compiler_gnu(${lang})
|
__windows_compiler_gnu(${lang})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|||||||
Reference in New Issue
Block a user