mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 08:37:09 +00:00
VS10: Write header-only files in correct xml element (#11925)
This commit is contained in:
parent
cac769f3a7
commit
a6b52bd8ef
@ -455,7 +455,11 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
|
||||
{
|
||||
lang = "None";
|
||||
}
|
||||
if(lang[0] == 'C')
|
||||
if(header)
|
||||
{
|
||||
headers.push_back(sf);
|
||||
}
|
||||
else if(lang[0] == 'C')
|
||||
{
|
||||
clCompile.push_back(sf);
|
||||
}
|
||||
@ -467,10 +471,6 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
|
||||
{
|
||||
customBuild.push_back(sf);
|
||||
}
|
||||
else if(header)
|
||||
{
|
||||
headers.push_back(sf);
|
||||
}
|
||||
else if(ext == "idl")
|
||||
{
|
||||
idls.push_back(sf);
|
||||
|
Loading…
Reference in New Issue
Block a user