[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.
Loading
Please sign in to comment
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.