summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2016-08-31 12:36:47 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2016-11-14 16:36:44 (GMT)
commita92f8d96162b9e6c29ad0bd81b8fd05b387d94a9 (patch)
treeef466320752bfda4f1ba600a1b42172fc5a9a714 /Source
parentec6ce623351ea3fda95dda49a72fc279a63aee87 (diff)
downloadCMake-a92f8d96162b9e6c29ad0bd81b8fd05b387d94a9.zip
CMake-a92f8d96162b9e6c29ad0bd81b8fd05b387d94a9.tar.gz
CMake-a92f8d96162b9e6c29ad0bd81b8fd05b387d94a9.tar.bz2
CUDA: Enable header dependency scanning.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index c8b459c..ba17f81 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1458,7 +1458,8 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(
// Create the scanner for this language
cmDepends* scanner = CM_NULLPTR;
- if (lang == "C" || lang == "CXX" || lang == "RC" || lang == "ASM") {
+ if (lang == "C" || lang == "CXX" || lang == "RC" || lang == "ASM" ||
+ lang == "CUDA") {
// TODO: Handle RC (resource files) dependencies correctly.
scanner = new cmDependsC(this, targetDir, lang, &validDeps);
}