[all-commits] [llvm/llvm-project] 30b7df: [flang] Fix standalone builds

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Wed May 12 13:01:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30b7dfafdb620420ad3498aae01130bc7e2fb9cd
      https://github.com/llvm/llvm-project/commit/30b7dfafdb620420ad3498aae01130bc7e2fb9cd
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M flang/CMakeLists.txt

  Log Message:
  -----------
  [flang] Fix standalone builds

Flang's CMake modules directory was being added to the CMake module path
twice, and AddFlang was being included after the first addition. Remove
the unnecessary first addition and move the AddFlang include down to the
second one. This way, it occurs after LLVM's CMake modules have been
included for a standalone build, so it can make use of those modules.




More information about the All-commits mailing list