Merge topic 'fix-try_compile-library-spaces'
e65ef08
try_compile: Fix quoting of libraries in generated CMakeLists.txt
This commit is contained in:
commit
590a41ba0e
|
@ -111,7 +111,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
|
|||
++i)
|
||||
{
|
||||
extraArgs++;
|
||||
libsToLink += argv[i] + " ";
|
||||
libsToLink += "\"" + argv[i] + "\" ";
|
||||
cmTarget *tgt = this->Makefile->FindTargetToUse(argv[i].c_str());
|
||||
if (!tgt)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue