diff options
author | Brad King <brad.king@kitware.com> | 2020-03-04 13:19:22 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-03-04 13:19:30 (GMT) |
commit | 71633304c4b2f3e0ca05f69a5a789a423d643213 (patch) | |
tree | bdd4fd80eda9fcb75c73121b5af418eaf7e55d2e /Modules | |
parent | 0975743eb623cf690a77b605e05016cf37371515 (diff) | |
parent | ee70c5de4de6eca97be2ced2534e0e34bae6f30c (diff) | |
download | CMake-71633304c4b2f3e0ca05f69a5a789a423d643213.zip CMake-71633304c4b2f3e0ca05f69a5a789a423d643213.tar.gz CMake-71633304c4b2f3e0ca05f69a5a789a423d643213.tar.bz2 |
Merge topic 'llvm-rc-defines-not-flags'
ee70c5de4d llvm-rc: Forward DEFINES instead of FLAGS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4419
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 dc8dd6f..87ddfcd 100644 --- a/Modules/Platform/Windows-Clang.cmake +++ b/Modules/Platform/Windows-Clang.cmake @@ -141,7 +141,7 @@ if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC" set(CMAKE_RC_PREPROCESSOR CMAKE_CXX_COMPILER) endif() if(DEFINED CMAKE_RC_PREPROCESSOR) - set(CMAKE_RC_COMPILE_OBJECT "${CMAKE_COMMAND} -E cmake_llvm_rc <OBJECT>.pp <${CMAKE_RC_PREPROCESSOR}> <DEFINES> -DRC_INVOKED <INCLUDES> <FLAGS> -clang:-MD -clang:-MF -clang:<SOURCE>.d -E <SOURCE> -- <CMAKE_RC_COMPILER> <FLAGS> /fo <OBJECT> <OBJECT>.pp") + set(CMAKE_RC_COMPILE_OBJECT "${CMAKE_COMMAND} -E cmake_llvm_rc <OBJECT>.pp <${CMAKE_RC_PREPROCESSOR}> <DEFINES> -DRC_INVOKED <INCLUDES> <FLAGS> -clang:-MD -clang:-MF -clang:<SOURCE>.d -E <SOURCE> -- <CMAKE_RC_COMPILER> <DEFINES> /fo <OBJECT> <OBJECT>.pp") if(CMAKE_GENERATOR STREQUAL "Ninja") set(CMAKE_NINJA_CMCLDEPS_RC 0) set(CMAKE_NINJA_DEP_TYPE_RC gcc) |