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 | 42cefc6bc174f0e6ec87f105b6bf0ca3d53eb2ee (patch) | |
tree | be15fff64e83d2d2ba7834c854b71a68562d5d60 /Modules | |
parent | e5eb4108a0e2039e718ff33d0f4ea6094608eb36 (diff) | |
parent | 4bef0e64500c46a6adbc21f838f5b6ba9deeaced (diff) | |
download | CMake-42cefc6bc174f0e6ec87f105b6bf0ca3d53eb2ee.zip CMake-42cefc6bc174f0e6ec87f105b6bf0ca3d53eb2ee.tar.gz CMake-42cefc6bc174f0e6ec87f105b6bf0ca3d53eb2ee.tar.bz2 |
Merge topic 'llvm_rc_pp' into release-3.17
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')
-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 c08bb41..96c0791 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) |