Windows-MSVC.cmake: fix disabling of CMAKE_NINJA_CMCLDEPS_RC

This commit is contained in:
Marc-André Moreau
2019-05-30 13:03:37 -04:00
parent 7a8a24d028
commit fd28e24947

View File

@@ -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()