mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
0f88b7a592
__compiler_clang() doesn't call __compiler_gnu() if we're emulating MSVC. Thus CMAKE_DEPFILE_FLAGS_CUDA remains unset and compiling doesn't work, due to NVCC dependency injection workaround in CMakeCUDAInformation.cmake, which triggers for Ninja if they're not set. Always set the depfile flags to fix this. Most other compiler modules seem to do the same.
1.5 KiB
1.5 KiB