Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / compiler / tflchef / CMakeLists.txt
1 nnas_find_package(Protobuf QUIET)
2
3 if(NOT Protobuf_FOUND)
4   message(STATUS "Build tflchef: FAILED (missing Protobuf)")
5   return()
6 endif(NOT Protobuf_FOUND)
7
8 if(NOT TARGET mio_tflite2121)
9   message(STATUS "Build tflchef: FAILED (missing mio_tflite2121)")
10   return()
11 endif(NOT TARGET mio_tflite2121)
12
13 # Recipe Parser
14 add_subdirectory(proto)
15 # Log
16 add_subdirectory(log)
17 # Core Library
18 add_subdirectory(core)
19 # TFlite Library
20 add_subdirectory(tflite)
21 # Tools
22 add_subdirectory(tools)
23
24 if(NOT ENABLE_TEST)
25   return()
26 endif(NOT ENABLE_TEST)
27
28 add_subdirectory(tests)