mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
cmList: Add container conversion to string
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "cmsys/Directory.hxx"
|
||||
|
||||
#include "cmExecutionStatus.h"
|
||||
#include "cmList.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
@@ -67,7 +68,7 @@ bool cmAuxSourceDirectoryCommand(std::vector<std::string> const& args,
|
||||
if (!sourceListValue.empty()) {
|
||||
sourceListValue += ";";
|
||||
}
|
||||
sourceListValue += cmJoin(files, ";");
|
||||
sourceListValue += cmList::to_string(files);
|
||||
mf.AddDefinition(args[1], sourceListValue);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user