LGTM, pushed, thanks.
> -----Original Message----- > From: Beignet [mailto:[email protected]] On Behalf Of > Zhenyu Wang > Sent: Monday, November 16, 2015 15:18 > To: [email protected] > Subject: [Beignet] [PATCH] First reference beignet's CL header to build > > This is to fix build error when new intel extension is added into beignet. As > current cmake rule will use old system installed CL headers instead of beignet > ones, which leads to compile failure as new extension definition won't be > found. So this trys to simply always prefer to use beignet's CL header in > build/install. > > Signed-off-by: Zhenyu Wang <[email protected]> > --- > CMakeLists.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c6c373..147bb25 100644 > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -32,7 +32,9 @@ configure_file ( > "src/OCLConfig.h" > ) > > -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} > ${CMAKE_CURRENT_SOURCE_DIR}) > +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} > ${CMAKE_CURRENT_SOURCE_DIR} > + ${CMAKE_CURRENT_SOURCE_DIR}/include) > + > > INCLUDE (FindPkgConfig) > > -- > 2.6.2 > > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
