summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-07 14:43:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-07 14:43:39 (GMT)
commit7b1099a52fe78fa1a54a326e053aaf058688d00b (patch)
tree5fe7daafe7b06a03896f69cd71f47d74ba38474a /Modules/Platform
parentefe3410cbb3fa985f0a2724aa32f32f117fbf538 (diff)
parentd49e168e1b32ac7d3ee0a4a52791d28a52d8f615 (diff)
downloadCMake-7b1099a52fe78fa1a54a326e053aaf058688d00b.zip
CMake-7b1099a52fe78fa1a54a326e053aaf058688d00b.tar.gz
CMake-7b1099a52fe78fa1a54a326e053aaf058688d00b.tar.bz2
Merge topic 'cmcldeps-cross'
d49e168e1b Ninja: Do not use cmcldeps for RC on non-Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Dmitry Mikushin <dmitry@kernelgen.org> Merge-request: !6843
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 2f53bc2..b2cc6f4 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -482,7 +482,7 @@ macro(__windows_compiler_msvc_enable_rc flags)
endif()
enable_language(RC)
- if(NOT DEFINED CMAKE_NINJA_CMCLDEPS_RC)
+ if(NOT DEFINED CMAKE_NINJA_CMCLDEPS_RC AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
set(CMAKE_NINJA_CMCLDEPS_RC 1)
endif()
endmacro()