From b6c867ed8b4d4602998f920fb3d032faee4103a1 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 8 Aug 2017 00:59:55 -0400
Subject: [PATCH] P4 to Git Change 1444314 by lmoriche@lmoriche_palamida on
2017/08/08 00:46:38
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
- Restore the change in CL#1444178, was - Use the internal libelf instead of the system's when building with cmake.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#10 edit
---
opencl/api/opencl/amdocl/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/opencl/api/opencl/amdocl/CMakeLists.txt b/opencl/api/opencl/amdocl/CMakeLists.txt
index a403633739..299ecd9358 100644
--- a/opencl/api/opencl/amdocl/CMakeLists.txt
+++ b/opencl/api/opencl/amdocl/CMakeLists.txt
@@ -19,6 +19,8 @@ include_directories(${CMAKE_SOURCE_DIR}/compiler/lib)
include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/include)
include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/backends/common)
include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/loaders)
+include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/loaders/elf/utils/libelf)
+include_directories(${CMAKE_SOURCE_DIR}/compiler/lib/loaders/elf/utils/common)
include_directories(${CMAKE_SOURCE_DIR}/compiler/tools)
add_library(amdocl64 SHARED