diff options
-rw-r--r-- | tracker-neuralnet/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tracker-neuralnet/CMakeLists.txt b/tracker-neuralnet/CMakeLists.txt index 01fc9976..f414c920 100644 --- a/tracker-neuralnet/CMakeLists.txt +++ b/tracker-neuralnet/CMakeLists.txt @@ -28,7 +28,9 @@ if(OpenCV_FOUND AND ONNXRuntime_FOUND AND OpenMP_FOUND) PERMISSIONS ${opentrack-perms-file} ) - otr_install_lib("${ONNXRuntime_RUNTIME}" ".") + if(WIN32) + otr_install_lib("${ONNXRuntime_RUNTIME}" ".") + endif() if(MSVC) otr_install_lib("redist/vcomp140.dll" "${opentrack-bin}") endif() |