mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code
This commit is contained in:
@@ -57,7 +57,9 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Makefile->EnableLanguage(0);
|
||||
// if no language is specified do c and c++
|
||||
m_Makefile->EnableLanguage("C");
|
||||
m_Makefile->EnableLanguage("CXX");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user