diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 2e5e2160b9..4ee14474a5 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -56,7 +56,7 @@ class cmTarget public: enum TargetType { EXECUTABLE, WIN32_EXECUTABLE, STATIC_LIBRARY, SHARED_LIBRARY, MODULE_LIBRARY, UTILITY, INSTALL_FILES, - INSTALL_PROGRAMS, GENERATED_CODE }; + INSTALL_PROGRAMS }; /** * Return the type of target. diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index e385b04947..56c0aaf1a8 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -739,8 +739,6 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout) // This is handled by the OutputInstallRules method case cmTarget::INSTALL_PROGRAMS: // This is handled by the OutputInstallRules method - case cmTarget::GENERATED_CODE: - // This is handled by the CustomCommands break; } }