diff options
author | Brad King <brad.king@kitware.com> | 2020-03-30 17:21:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-03-30 17:22:02 (GMT) |
commit | 0188df97e83a3c8db75ef2edd2bb6df3bf939280 (patch) | |
tree | 2ba24ab56e78d580bef8d2db7b4cbc31c1edc995 /Modules/Platform/Windows-Clang.cmake | |
parent | 3c48f4b24be0c12e8a5b3120a49709eea4cbcfc6 (diff) | |
parent | 4bef0e64500c46a6adbc21f838f5b6ba9deeaced (diff) | |
download | CMake-0188df97e83a3c8db75ef2edd2bb6df3bf939280.zip CMake-0188df97e83a3c8db75ef2edd2bb6df3bf939280.tar.gz CMake-0188df97e83a3c8db75ef2edd2bb6df3bf939280.tar.bz2 |
Merge topic 'llvm_rc_pp'
4bef0e6450 llvm-rc: Enable preprocessing if CMAKE_RC_COMPILER_INIT is an absolute path
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4535
Diffstat (limited to 'Modules/Platform/Windows-Clang.cmake')
-rw-r--r-- | Modules/Platform/Windows-Clang.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-Clang.cmake b/Modules/Platform/Windows-Clang.cmake index 868c7d2..018de4c 100644 --- a/Modules/Platform/Windows-Clang.cmake +++ b/Modules/Platform/Windows-Clang.cmake @@ -134,7 +134,7 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC" include(Platform/Windows-MSVC) # Feed the preprocessed rc file to llvm-rc - if(CMAKE_RC_COMPILER_INIT STREQUAL "llvm-rc") + if(CMAKE_RC_COMPILER_INIT MATCHES "llvm-rc") if(DEFINED CMAKE_C_COMPILER_ID) set(CMAKE_RC_PREPROCESSOR CMAKE_C_COMPILER) elseif(DEFINED CMAKE_CXX_COMPILER_ID) |