diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-07-16 15:18:55 -0400 |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-08-28 11:21:31 -0400 |
commit | 34cc6acc81758e29f8c88607c21ab11d8807f87c (patch) | |
tree | 38effcd493f057f6148f4d8f58262dfb27afaa24 /Source/cmMakefileTargetGenerator.cxx | |
parent | 419d70d49000e10c36d9615574ff03513f2edf0d (diff) | |
download | cmake-34cc6acc81758e29f8c88607c21ab11d8807f87c.tar.gz |
Add ISPC compiler support to CMake
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 13c2fe9299..854fc8b2aa 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -734,7 +734,8 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles( // ability to export compile commands bool lang_has_preprocessor = ((lang == "C") || (lang == "CXX") || (lang == "OBJC") || - (lang == "OBJCXX") || (lang == "Fortran") || (lang == "CUDA")); + (lang == "OBJCXX") || (lang == "Fortran") || (lang == "CUDA") || + lang == "ISPC"); bool const lang_has_assembly = lang_has_preprocessor; bool const lang_can_export_cmds = lang_has_preprocessor; |