[all-commits] [llvm/llvm-project] bffd45: [NFC][AMDGPU] Fix cmake when LLVM is a subproject

Seebi via All-commits all-commits at lists.llvm.org
Wed Apr 22 05:26:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bffd45bab199cbe6021927ca4ab56e944eff5381
      https://github.com/llvm/llvm-project/commit/bffd45bab199cbe6021927ca4ab56e944eff5381
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    M llvm/unittests/Target/AMDGPU/CMakeLists.txt

  Log Message:
  -----------
  [NFC][AMDGPU] Fix cmake when LLVM is a subproject

CMAKE_SOURCE_DIR is not the right directory if llvm is included in
another cmake project. PROJECT_SOURCE_DIR is always the same and should
be used instead.




More information about the All-commits mailing list