diff options
author | Brad King <brad.king@kitware.com> | 2021-12-06 18:02:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-12-07 14:34:49 (GMT) |
commit | b59f7600c409e08fb872705d795d37f014e02453 (patch) | |
tree | 4350ec1b853d203fcd4ef1385ee326df1208323a | |
parent | 60ebe5f3da67151f79e068f193ff309f7a358d41 (diff) | |
download | CMake-b59f7600c409e08fb872705d795d37f014e02453.zip CMake-b59f7600c409e08fb872705d795d37f014e02453.tar.gz CMake-b59f7600c409e08fb872705d795d37f014e02453.tar.bz2 |
HIP: Enable CMAKE_EXPORT_COMPILE_COMMANDS for HIP
Fixes: #22986
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 8edadd3..f5f3727 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -888,7 +888,7 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles( bool lang_has_preprocessor = ((lang == "C") || (lang == "CXX") || (lang == "OBJC") || (lang == "OBJCXX") || (lang == "Fortran") || (lang == "CUDA") || - lang == "ISPC" || lang == "ASM"); + lang == "ISPC" || lang == "HIP" || lang == "ASM"); bool const lang_has_assembly = lang_has_preprocessor; bool const lang_can_export_cmds = lang_has_preprocessor; |