From b4f28814b7f5cf1d2375963db81f554d470aef83 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 7 Jan 2024 23:26:05 +0100 Subject: Add a deep tagger in C++ --- deeptagger/FindONNXRuntime.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 deeptagger/FindONNXRuntime.cmake (limited to 'deeptagger/FindONNXRuntime.cmake') 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) -- cgit v1.2.3-70-g09d2