Skip to content

Commit

Permalink
remove neural_speed from external_libraries if not support
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Jan 15, 2024
1 parent 65cbb81 commit b1217d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,9 @@ endif()

if (onnxruntime_USE_NEURAL_SPEED AND NOT onnxruntime_MINIMAL_BUILD)
include(neural_speed)
list(APPEND onnxruntime_EXTERNAL_LIBRARIES bestla::bestla)
if (USE_NEURAL_SPEED)
list(APPEND onnxruntime_EXTERNAL_LIBRARIES bestla::bestla)
endif()
endif()

# TVM EP
Expand Down

0 comments on commit b1217d4

Please sign in to comment.