diff options
author | Li Peng <peng.li@linux.intel.com> | 2014-06-04 14:21:44 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-06-04 12:31:27 +0800 |
commit | f2479594d4a5f71bd1eb389a4efb70fa132a19d7 (patch) | |
tree | 4d3038a6e52e632c927d2d52d8f92d44d5856792 /benchmark | |
parent | 1edc50b11d75883b6895978a20cc29e117eb3f86 (diff) |
add DRM_LIBDIR path into link directory list
Then beignet can link to user preferred drm library rather than default
Signed-off-by: Li Peng <peng.li@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/CMakeLists.txt b/benchmark/CMakeLists.txt index fb28023b..d96a2e02 100644 --- a/benchmark/CMakeLists.txt +++ b/benchmark/CMakeLists.txt @@ -3,7 +3,7 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../include) -link_directories (${LLVM_LIBRARY_DIR}) +link_directories (${LLVM_LIBRARY_DIR} ${DRM_LIBDIR}) set (benchmark_sources ../utests/utest_error.c ../utests/utest_assert.cpp |