mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 20:29:56 -06:00
VS: Fix ASM_MASM support in VS >= 10
Fix a typo introduced by commit ce511435 (stringapi: Use strings for the
languages, 2014-02-03) to check the language name correctly.
This commit is contained in:
@@ -1123,7 +1123,7 @@ void cmVisualStudio10TargetGenerator::WriteAllSources()
|
|||||||
{
|
{
|
||||||
tool = "ClCompile";
|
tool = "ClCompile";
|
||||||
}
|
}
|
||||||
else if (lang == "ASM_NASM" &&
|
else if (lang == "ASM_MASM" &&
|
||||||
this->GlobalGenerator->IsMasmEnabled())
|
this->GlobalGenerator->IsMasmEnabled())
|
||||||
{
|
{
|
||||||
tool = "MASM";
|
tool = "MASM";
|
||||||
|
|||||||
Reference in New Issue
Block a user