[Beignet] [PATCH] Add LLVM_INCLUDE_DIR to CMakeList of src.
Zhigang Gong
zhigang.gong at linux.intel.com
Tue Mar 17 01:58:57 PDT 2015
LGTM, pushed, thanks.
On Mon, Mar 16, 2015 at 11:27:20PM +0800, junyan.he at inbox.com wrote:
> From: Junyan He <junyan.he at linux.intel.com>
>
> The llvm include should be specified when llvm is
> not installed in standard dir.
>
> Signed-off-by: Junyan He <junyan.he at linux.intel.com>
> ---
> src/CMakeLists.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
> index d4181d8..88b2792 100644
> --- a/src/CMakeLists.txt
> +++ b/src/CMakeLists.txt
> @@ -3,7 +3,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
> ${DRM_INCLUDE_DIRS}/../
> ${CMAKE_CURRENT_SOURCE_DIR}/../backend/src/backend/
> ${CMAKE_CURRENT_SOURCE_DIR}/../include
> - ${MESA_SOURCE_INCLUDES})
> + ${MESA_SOURCE_INCLUDES}
> + ${LLVM_INCLUDE_DIR})
>
> macro (MakeKernelBinStr KERNEL_PATH KERNEL_FILES)
> foreach (KF ${KERNEL_FILES})
> --
> 1.7.9.5
>
>
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list