mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
Fix warning from autoconf
autoconf reported this warning: configure.ac:263: warning: AC_CHECK_HEADERS("tensorflow/core/framework/graph.pb.h"): you should use literals Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
95689f5c5c
commit
6c7df2acf3
@ -261,7 +261,7 @@ AC_ARG_WITH([tensorflow],
|
||||
AM_CONDITIONAL([TENSORFLOW], false)
|
||||
TENSORFLOW_LIBS=
|
||||
AS_IF([test "x$with_tensorflow" != xno],
|
||||
[AC_CHECK_HEADERS(["tensorflow/core/framework/graph.pb.h"],
|
||||
[AC_CHECK_HEADERS([tensorflow/core/framework/graph.pb.h],
|
||||
[AC_SUBST([TENSORFLOW_LIBS], ["-lprotobuf -ltensorflow_cc"])
|
||||
AM_CONDITIONAL([TENSORFLOW], true)
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user