Fix relative include path for clang lib headers
source-relative include path was used to include the headers in question, leading to an issue if building Polygeist with an out-of-tree llvm/clang build. The proposed fix uses the "clang/..." based include path as a starting point and locates the lib headers relative to this, which should (hopefully) work for any location of an out-of-tree build.
This commit is contained in:
parent
593aad6231
commit
fb130970f1
|
@ -25,8 +25,8 @@
|
|||
#include "pragmaHandler.h"
|
||||
#include "llvm/IR/DerivedTypes.h"
|
||||
|
||||
#include "../../llvm-project/clang/lib/CodeGen/CGRecordLayout.h"
|
||||
#include "../../llvm-project/clang/lib/CodeGen/CodeGenModule.h"
|
||||
#include "clang/../../lib/CodeGen/CGRecordLayout.h"
|
||||
#include "clang/../../lib/CodeGen/CodeGenModule.h"
|
||||
#include "clang/AST/Mangle.h"
|
||||
|
||||
using namespace clang;
|
||||
|
|
Loading…
Reference in New Issue