summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-20 16:02:04 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-23 12:56:50 (GMT)
commit159a4d6b11f0feb0be7cfa692ee4738acddfef8d (patch)
treea65d44a671ae75eb4a8138a804ce90a51d2f40ad /Source/cmGlobalNinjaGenerator.cxx
parent9f8edd6ac3d04bc79981af3143d4bde6758dd91d (diff)
downloadCMake-159a4d6b11f0feb0be7cfa692ee4738acddfef8d.zip
CMake-159a4d6b11f0feb0be7cfa692ee4738acddfef8d.tar.gz
CMake-159a4d6b11f0feb0be7cfa692ee4738acddfef8d.tar.bz2
cmGlobalNinjaGenerator: Replace switch default with all cases
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 786cde7..80eae82 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -1105,8 +1105,9 @@ void cmGlobalNinjaGenerator::AppendTargetOutputs(
break;
}
- default:
- return;
+ case cmStateEnums::INTERFACE_LIBRARY:
+ case cmStateEnums::UNKNOWN_LIBRARY:
+ break;
}
}