diff options
-rw-r--r-- | Source/cmFLTKWrapUICommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx index b692552..6e0bdc9 100644 --- a/Source/cmFLTKWrapUICommand.cxx +++ b/Source/cmFLTKWrapUICommand.cxx @@ -64,7 +64,7 @@ bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args) cmSourceFile *curr = m_Makefile->GetSource(i->c_str()); // if we should use the source GUI // to generate .cxx and .h files - if (!curr || !curr->GetPropertyAsBool("WRAP_EXCLUDE")) + if (!curr && !curr->GetPropertyAsBool("WRAP_EXCLUDE")) { cmSourceFile header_file; cmSourceFile source_file; |