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