nnfw_find_package(ARMCompute REQUIRED)
-# NOTE This strange indentation is introduced to minimize code diffs
-# TODO Revise indentation
- file(GLOB_RECURSE SOURCES "src/*.cc")
+file(GLOB_RECURSE SOURCES "src/*.cc")
- add_library(nnapi_pure_arm_compute SHARED ${SOURCES})
- target_include_directories(nnapi_pure_arm_compute PUBLIC ${NNFW_INCLUDE_DIR})
- target_include_directories(nnapi_pure_arm_compute PUBLIC src)
- target_link_libraries(nnapi_pure_arm_compute arm_compute)
- target_link_libraries(nnapi_pure_arm_compute nnfw_util)
- set_target_properties(nnapi_pure_arm_compute PROPERTIES OUTPUT_NAME neuralnetworks)
- install(TARGETS nnapi_pure_arm_compute DESTINATION lib/pureacl RENAME neuralnetworks)
+add_library(nnapi_pure_arm_compute SHARED ${SOURCES})
+target_include_directories(nnapi_pure_arm_compute PUBLIC ${NNFW_INCLUDE_DIR})
+target_include_directories(nnapi_pure_arm_compute PUBLIC src)
+target_link_libraries(nnapi_pure_arm_compute arm_compute)
+target_link_libraries(nnapi_pure_arm_compute nnfw_util)
+set_target_properties(nnapi_pure_arm_compute PROPERTIES OUTPUT_NAME neuralnetworks)
+install(TARGETS nnapi_pure_arm_compute DESTINATION lib/pureacl RENAME neuralnetworks)
- # To prevent undefined references
- add_executable(pure_arm_compute_symbolcheck symbolcheck.cpp)
- target_link_libraries(pure_arm_compute_symbolcheck nnapi_pure_arm_compute)
+# To prevent undefined references
+add_executable(pure_arm_compute_symbolcheck symbolcheck.cpp)
+target_link_libraries(pure_arm_compute_symbolcheck nnapi_pure_arm_compute)