From: Zhigang Gong Date: Mon, 20 Jan 2014 09:14:48 +0000 (+0800) Subject: build: work around an old version cmake bug. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cde92612ac815fea924d7be8b68392c0c865a171;p=contrib%2Fbeignet.git build: work around an old version cmake bug. On fedora core 15 with the cmake 2.8.4, Yi experienced a build error. It turns out that the cmake may handle the file directorys with double slashs incorrectly when the file is on a target's dependcy list and be a output file name of a custom command. This small patch could work around that issue. Signed-off-by: Zhigang Gong Tested-by: "Sun, Yi" --- diff --git a/backend/src/CMakeLists.txt b/backend/src/CMakeLists.txt index 0e8c5a0..3f24a91 100644 --- a/backend/src/CMakeLists.txt +++ b/backend/src/CMakeLists.txt @@ -7,7 +7,7 @@ set (ocl_as_file ${GBE_SOURCE_DIR}/src/ocl_as.h) set (ocl_convert_file ${GBE_SOURCE_DIR}/src/ocl_convert.h) set (ocl_stdlib_tmpl_file ${GBE_SOURCE_DIR}/src/ocl_stdlib.tmpl.h) set (ocl_common_header_file ${GBE_SOURCE_DIR}/src/ocl_common_defines.h) -set (ocl_blob_file ${CMAKE_CURRENT_BINARY_DIR}/${beignet_install_path}/ocl_stdlib.h) +set (ocl_blob_file ${CMAKE_CURRENT_BINARY_DIR}${beignet_install_path}ocl_stdlib.h) set (ocl_blob_cpp_file ${GBE_SOURCE_DIR}/src/ocl_stdlib_str.cpp) set (ocl_gen_blob_cmd ${GBE_SOURCE_DIR}/src/update_blob_ocl_header.py) set (ocl_gen_vector_cmd ${GBE_SOURCE_DIR}/src/gen_builtin_vector.py)