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:
Brad King 2015-02-10 09:37:53 -05:00 committed by CMake Topic Stage
commit 1d6f4b6fcc
1 changed files with 1 additions and 1 deletions

View File

@ -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;