We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add0bd2 commit b3e86dbCopy full SHA for b3e86db
FindTensorFlow.cmake
@@ -0,0 +1,19 @@
1
+FIND_PATH(TENSORFLOW_INCLUDE_DIRS NAMES tensorflow/c PATHS
2
+ /usr/include
3
+ /opt/local/include
4
+ /usr/local/include
5
+)
6
+
7
+FIND_LIBRARY(TENSORFLOW_LIBRARIES NAMES tensorflow PATHS
8
+ /usr/local/lib
9
+ /opt/local/lib
10
+ /usr/lib
11
12
13
+# handle the QUIETLY and REQUIRED arguments and set LZ4_FOUND to TRUE if
14
+# all listed variables are TRUE
15
+INCLUDE(FindPackageHandleStandardArgs)
16
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(tensorflow
17
+ REQUIRED_VARS TENSORFLOW_LIBRARIES TENSORFLOW_INCLUDE_DIRS
18
+ VERSION_VAR TENSORFLOW_VERSION_STRING)
19
+MARK_AS_ADVANCED(TENSORFLOW_INCLUDE_DIRS)
0 commit comments