diff options
author | Marc-André Moreau <marcandre.moreau@gmail.com> | 2019-05-30 17:03:37 (GMT) |
---|---|---|
committer | Marc-André Moreau <marcandre.moreau@gmail.com> | 2019-05-30 17:11:34 (GMT) |
commit | fd28e24947af12f661516dc2b942f2f1a8f586c4 (patch) | |
tree | 3beeb5034d0f07a18025c5978b86b01034bf2c25 /Modules/Platform/Windows-MSVC.cmake | |
parent | 7a8a24d0284856b7b38037884d0b17a1de7a9926 (diff) | |
download | CMake-fd28e24947af12f661516dc2b942f2f1a8f586c4.zip CMake-fd28e24947af12f661516dc2b942f2f1a8f586c4.tar.gz CMake-fd28e24947af12f661516dc2b942f2f1a8f586c4.tar.bz2 |
Windows-MSVC.cmake: fix disabling of CMAKE_NINJA_CMCLDEPS_RC
Diffstat (limited to 'Modules/Platform/Windows-MSVC.cmake')
-rw-r--r-- | Modules/Platform/Windows-MSVC.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake index 776b209..7a83859 100644 --- a/Modules/Platform/Windows-MSVC.cmake +++ b/Modules/Platform/Windows-MSVC.cmake @@ -421,5 +421,7 @@ macro(__windows_compiler_msvc_enable_rc flags) endif() enable_language(RC) - set(CMAKE_NINJA_CMCLDEPS_RC 1) + if(NOT DEFINED CMAKE_NINJA_CMCLDEPS_RC) + set(CMAKE_NINJA_CMCLDEPS_RC 1) + endif() endmacro() |