Переглянути джерело

BUG: When requiring a module through a .proxy rule add an empty .proxy rule in case no other source in the target provides it. Since it is not a file-level dependency there does not need to be a rule to create the .proxy as a file. This addresses bug#3984.

Brad King 18 роки тому
батько
коміт
394077ac5c
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      Source/cmDependsFortran.cxx

+ 3 - 0
Source/cmDependsFortran.cxx

@@ -154,6 +154,9 @@ bool cmDependsFortran::WriteDependencies(const char *src, const char *obj,
       // since we require some things add them to our list of requirements
       makeDepends << obj << ".requires: " << i->c_str() << ".mod.proxy"
          << std::endl;
+
+      // create an empty proxy in case no other source provides it
+      makeDepends << i->c_str() << ".mod.proxy:" << std::endl;
       }
     }