diff --git a/tensorflow/lite/kernels/CMakeLists.txt b/tensorflow/lite/kernels/CMakeLists.txt index 27f83af8ec6d5238130366d6c3b0109ca23b4724..bde319bf45e9dd96d7c8558e57402bb44c20843e 100644 --- a/tensorflow/lite/kernels/CMakeLists.txt +++ b/tensorflow/lite/kernels/CMakeLists.txt @@ -107,6 +107,11 @@ if(NOT _TFLITE_ENABLE_NNAPI) ${TFLITE_SOURCE_DIR}/nnapi/nnapi_util.cc ) endif() +if(NOT TFLITE_ENABLE_GPU) + list(APPEND TEST_FRAMEWORK_SRC + ${TFLITE_SOURCE_DIR}/tools/versioning/op_signature.cc + ) +endif() set(TEST_FRAMEWORK_OPTIONS "") if(TFLITE_ENABLE_XNNPACK)