Merge branch 'fix-try_compile-library-spaces' into release
This commit is contained in:
commit
8f26ed43b1
|
@ -111,7 +111,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
|
||||||
++i)
|
++i)
|
||||||
{
|
{
|
||||||
extraArgs++;
|
extraArgs++;
|
||||||
libsToLink += argv[i] + " ";
|
libsToLink += "\"" + cmSystemTools::TrimWhitespace(argv[i]) + "\" ";
|
||||||
cmTarget *tgt = this->Makefile->FindTargetToUse(argv[i].c_str());
|
cmTarget *tgt = this->Makefile->FindTargetToUse(argv[i].c_str());
|
||||||
if (!tgt)
|
if (!tgt)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue