Browse Source

cmMakefile: fix __CMAKE_RULE property setting

It got put into the condition by mistake.
Ben Boeckel 11 years ago
parent
commit
4b13916970
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmMakefile.cxx

+ 1 - 1
Source/cmMakefile.cxx

@@ -1042,8 +1042,8 @@ cmMakefile::AddCustomCommandToOutput(const std::vector<std::string>& outputs,
     if (!file)
       {
       file = this->CreateSource(outName, true);
-      file->SetProperty("__CMAKE_RULE", "1");
       }
+    file->SetProperty("__CMAKE_RULE", "1");
     }
 
   // Always create the output sources and mark them generated.