Skip to content

Commit

Permalink
math/ruy: remove ruy library from cmake list
Browse files Browse the repository at this point in the history
ruy is not really used, tflite just uses the header file

Error log from CMake:
================================================================
-- Configuring done (2.1s)
CMake Error at cmake/nuttx_add_library.cmake:183 (add_library):
  No SOURCES given to target: ruy
Call Stack (most recent call first):
  apps/math/ruy/CMakeLists.txt:57 (nuttx_add_library)

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao committed Nov 30, 2024
1 parent 144594d commit 7d442c5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions math/ruy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,4 @@ if(CONFIG_MATH_RUY)
endif()
endif()

# ############################################################################
# Include Directory
# ############################################################################

set(INCDIR ${CMAKE_CURRENT_LIST_DIR}/ruy)

# ############################################################################
# Library Configuration
# ############################################################################

nuttx_add_library(ruy STATIC)
target_include_directories(ruy PUBLIC ${INCDIR})

endif()

0 comments on commit 7d442c5

Please sign in to comment.