From a4f388cbae8e2903cf403770a55110a0a52c6ec9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=ED=95=9C=EC=A2=85/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Fri, 13 Jul 2018 16:10:57 +0900 Subject: [PATCH] [newrt] Require ARMCompute for build (#1949) Currently we depend on ARMCompute for abstract classes so we need it always even we only want cpu kernels. However later we should remove this requirement. Signed-off-by: Hanjoung Lee --- runtimes/new_runtime/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtimes/new_runtime/CMakeLists.txt b/runtimes/new_runtime/CMakeLists.txt index a8ab694..223eb04 100644 --- a/runtimes/new_runtime/CMakeLists.txt +++ b/runtimes/new_runtime/CMakeLists.txt @@ -1,5 +1,9 @@ file(GLOB_RECURSE SOURCES "src/*.cc") +# NOTE For now ARMCompute is necessary +# TODO Remove required package below(should be optional) +nnfw_find_package(ARMCompute REQUIRED) + add_library(${LIB_NEW_RUNTIME} SHARED ${SOURCES}) target_include_directories(${LIB_NEW_RUNTIME} PUBLIC ${NNFW_INCLUDE_DIR}) target_include_directories(${LIB_NEW_RUNTIME} PUBLIC src -- 2.7.4