mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
try_compile: Quote the content of CMAKE_MODULE_PATH to allow for spaces
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user