From 5ba65d0aa105e0bd015b632b9c34a85ce79ca32d Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 28 Jun 2002 09:21:30 -0400 Subject: bug fix for aux src dirs --- Source/cmAuxSourceDirectoryCommand.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx index 7562833..659cb59 100644 --- a/Source/cmAuxSourceDirectoryCommand.cxx +++ b/Source/cmAuxSourceDirectoryCommand.cxx @@ -32,6 +32,14 @@ bool cmAuxSourceDirectoryCommand::InitialPass(std::vector const& ar std::string tdir = m_Makefile->GetCurrentDirectory(); tdir += "/"; tdir += templateDirectory; + + // was the list already populated + const char *def = m_Makefile->GetDefinition(args[1].c_str()); + if (def) + { + sourceListValue = def; + } + // Load all the files in the directory cmDirectory dir; if(dir.Load(tdir.c_str())) -- cgit v0.12