Skip to content

Commit

Permalink
[enco/test] Skip if no nnkit_tflite_backend (#12969)
Browse files Browse the repository at this point in the history
This will revise enco/test to skip build if nnkit_tflite_backend is not found.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <saehie.park@gmail.com>
  • Loading branch information
seanshpark authored May 7, 2024
1 parent fad77c7 commit bcf4468
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/enco/test/tflite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ endfunction(get_test_configuration)
###
### Prepare test(s)
###
if(NOT TARGET nnkit_tflite_backend)
return()
endif(NOT TARGET nnkit_tflite_backend)

if(NOT TARGET tflchef-file)
return()
endif(NOT TARGET tflchef-file)
Expand Down

0 comments on commit bcf4468

Please sign in to comment.