Browse Source

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.
Brad King 11 years ago
parent
commit
5b0a46e1c9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmGlobalGenerator.cxx

+ 2 - 1
Source/cmGlobalGenerator.cxx

@@ -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))
         {