[Beignet] [PATCH 1/2] CMake: Fix a cmake warning.

Yang Rong rong.r.yang at intel.com
Wed Jun 15 08:13:43 UTC 2016


libocl is not a target, remove the add_dependencies.

Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
 backend/src/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/backend/src/CMakeLists.txt b/backend/src/CMakeLists.txt
index a21ca75..41eb5ec 100644
--- a/backend/src/CMakeLists.txt
+++ b/backend/src/CMakeLists.txt
@@ -12,7 +12,6 @@ configure_file (
 #do not involve libocl if the standalone compiler is given,
 if (NOT (USE_STANDALONE_GBE_COMPILER STREQUAL "true"))
 add_subdirectory(libocl)
-add_dependencies(beignet_bitcode libocl)
 endif ()
 
 set (LOCAL_GBE_OBJECT_DIR "${CMAKE_CURRENT_BINARY_DIR}/libgbe.so" PARENT_SCOPE)
-- 
2.1.4



More information about the Beignet mailing list