[PATCH] D97513: Add <Project>ConfigVersion.cmake files

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 27 15:00:57 PDT 2021


steveire added inline comments.


================
Comment at: flang/cmake/modules/CMakeLists.txt:15
 # Generate FlangConfig.cmake for the build tree.
+include(CMakePackageConfigHelpers)
+
----------------
Instead of including this multiple times, please add it to `AddLLVM.cmake`. That file is used in project top-level builds too and it already contains other includes needed in the build. It is installed, but only for the purpose of building other parts of LLVM, so it's not a concern for third parties either (It is not included by `LLVMConfig.cmake`).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97513/new/

https://reviews.llvm.org/D97513



More information about the cfe-commits mailing list