summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-07 14:53:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-12-07 14:54:10 (GMT)
commitd6993e593d774b2fa681d39ea9d1e24e305c459d (patch)
tree2ddc84d0272b9489fe251ecbbc4c0359b5f3f9cb /Source/cmMakefileTargetGenerator.cxx
parentf30b91096d457add16ca5fbf91e4a06fe1c1aadf (diff)
parentb59f7600c409e08fb872705d795d37f014e02453 (diff)
downloadCMake-d6993e593d774b2fa681d39ea9d1e24e305c459d.zip
CMake-d6993e593d774b2fa681d39ea9d1e24e305c459d.tar.gz
CMake-d6993e593d774b2fa681d39ea9d1e24e305c459d.tar.bz2
Merge topic 'makefile-CMAKE_EXPORT_COMPILE_COMMANDS-HIP'
b59f7600c4 HIP: Enable CMAKE_EXPORT_COMPILE_COMMANDS for HIP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6789
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 8230848..5d306ec 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;