diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-01-07 23:26:05 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-01-18 18:31:09 +0100 |
commit | b4f28814b7f5cf1d2375963db81f554d470aef83 (patch) | |
tree | 6598b3076c270ba5f91a20fc2a47d4ed4e0408be /deeptagger/FindONNXRuntime.cmake | |
parent | 054078908a1e4c7429ea0f5a3a0605addfccc46c (diff) | |
download | gallery-b4f28814b7f5cf1d2375963db81f554d470aef83.tar.gz gallery-b4f28814b7f5cf1d2375963db81f554d470aef83.tar.xz gallery-b4f28814b7f5cf1d2375963db81f554d470aef83.zip |
Add a deep tagger in C++
Diffstat (limited to 'deeptagger/FindONNXRuntime.cmake')
-rw-r--r-- | deeptagger/FindONNXRuntime.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deeptagger/FindONNXRuntime.cmake b/deeptagger/FindONNXRuntime.cmake new file mode 100644 index 0000000..902c27d --- /dev/null +++ b/deeptagger/FindONNXRuntime.cmake @@ -0,0 +1,11 @@ +# Public Domain + +find_path (ONNXRuntime_INCLUDE_DIRS onnxruntime_c_api.h + PATH_SUFFIXES onnxruntime) +find_library (ONNXRuntime_LIBRARIES NAMES onnxruntime) + +include (FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS (ONNXRuntime DEFAULT_MSG + ONNXRuntime_INCLUDE_DIRS ONNXRuntime_LIBRARIES) + +mark_as_advanced (ONNXRuntime_LIBRARIES ONNXRuntime_INCLUDE_DIRS) |