summaryrefslogtreecommitdiff
path: root/Source/cmWrapExcludeFilesCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWrapExcludeFilesCommand.cxx')
-rw-r--r--Source/cmWrapExcludeFilesCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmWrapExcludeFilesCommand.cxx b/Source/cmWrapExcludeFilesCommand.cxx
index 90c98c2fed..76f60a049f 100644
--- a/Source/cmWrapExcludeFilesCommand.cxx
+++ b/Source/cmWrapExcludeFilesCommand.cxx
@@ -42,7 +42,7 @@ bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& args
cmSourceFile* sf = m_Makefile->GetSource(j->c_str());
if(sf)
{
- sf->SetWrapExclude(true);
+ sf->SetProperty("WRAP_EXCLUDE","1");
}
// if file is not already in the makefile, then add it
else
@@ -51,7 +51,7 @@ bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& args
cmSourceFile file;
std::string path = cmSystemTools::GetFilenamePath(newfile);
// set the flags
- file.SetWrapExclude(true);
+ file.SetProperty("WRAP_EXCLUDE","1");
// if this is a full path then
if((path.size() && path[0] == '/') ||
(path.size() > 1 && path[1] == ':'))