diff --git a/Source/cmCablePackageCommand.cxx b/Source/cmCablePackageCommand.cxx index 009ecd178..73f8f18c0 100644 --- a/Source/cmCablePackageCommand.cxx +++ b/Source/cmCablePackageCommand.cxx @@ -66,6 +66,7 @@ void cmCablePackageCommand::FinalPass() std::string filePath = m_Makefile->GetStartOutputDirectory(); cmClassFile file; file.m_AbstractClass = false; + file.m_HeaderFileOnly = false; file.SetName(fileName.c_str(), filePath.c_str(), "cxx", false); m_CableData->SetPackageClassIndex(m_Makefile->GetClasses().size());