mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
cmake: Fix FindONNXRuntime to work with prebuilt release binaries
This commit is contained in:
parent
8fa568e44f
commit
0b74b3abe8
|
@ -50,9 +50,10 @@ find_library(
|
||||||
PATH_SUFFIXES lib
|
PATH_SUFFIXES lib
|
||||||
HINTS ${PC_ONNXRuntime_LIBRARY_DIRS})
|
HINTS ${PC_ONNXRuntime_LIBRARY_DIRS})
|
||||||
find_path(
|
find_path(
|
||||||
ONNXRuntime_INCLUDE_DIR core/session/onnxruntime_cxx_api.h
|
ONNXRuntime_INCLUDE_DIR onnxruntime_cxx_api.h
|
||||||
PATHS ${ONNXRuntime_ROOT_DIR}
|
PATHS ${ONNXRuntime_ROOT_DIR}
|
||||||
PATH_SUFFIXES onnxruntime include/onnxruntime
|
PATH_SUFFIXES onnxruntime include include/onnxruntime onnxruntime/core/session
|
||||||
|
include/onnxruntime/core/session
|
||||||
HINTS ${PC_ONNXRuntime_INCLUDE_DIRS})
|
HINTS ${PC_ONNXRuntime_INCLUDE_DIRS})
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
Loading…
Reference in a new issue