ASM_MASM: Do not require compiler to be a full path

The compiler detection modules for this language do not yet know how
to find the full path to 'ml' or 'ml64', so do not require it.
This commit is contained in:
Brad King 2014-08-13 11:50:31 -04:00
parent 802dbe5239
commit 5b0a46e1c9
1 changed files with 2 additions and 1 deletions

View File

@ -620,7 +620,8 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
"No " << compilerName << " could be found.\n"
;
}
else if(strcmp(lang, "RC") != 0)
else if(strcmp(lang, "RC") != 0 &&
strcmp(lang, "ASM_MASM") != 0)
{
if(!cmSystemTools::FileIsFullPath(compilerFile))
{