Merge topic 'try_compile-quote-module-path'
220c427e
try_compile: Quote the content of CMAKE_MODULE_PATH to allow for spaces
This commit is contained in:
commit
1d6f4b6fcc
|
@ -296,7 +296,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
|
|||
cmVersion::GetPatchVersion(), cmVersion::GetTweakVersion());
|
||||
if(def)
|
||||
{
|
||||
fprintf(fout, "set(CMAKE_MODULE_PATH %s)\n", def);
|
||||
fprintf(fout, "set(CMAKE_MODULE_PATH \"%s\")\n", def);
|
||||
}
|
||||
|
||||
std::string projectLangs;
|
||||
|
|
Loading…
Reference in New Issue