Skip to content

Commit

Permalink
Fix builds for OpenCV and PyTorch on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Jan 15, 2024
1 parent ae35a30 commit 3fd9228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"<opencv2/core/types_c.h>", "<opencv2/core/core_c.h>", "<opencv2/core/types.hpp>", "<opencv2/core.hpp>",
"<opencv2/core/cuda.hpp>", "<opencv2/core/ocl.hpp>", "<opencv2/core/operations.hpp>", "<opencv2/core/bufferpool.hpp>", "<opencv2/core/mat.hpp>",
"<opencv2/core/persistence.hpp>", "<opencv2/core/optim.hpp>", "<opencv2/core/async.hpp>", "opencv_adapters.h"}, link = {"[email protected]", "[email protected]"},
exclude = {"openblas_config.h", "cblas.h", "lapacke_config.h", "lapacke_mangling.h", "lapack.h", "lapacke.h", "lapacke_utils.h"},
resource = {"include", "lib", "sdk", "share", "x86", "x64", "OpenCVConfig.cmake", "OpenCVConfig-version.cmake", "python"}, linkresource = "lib",
preload = {"[email protected]"}, compiler = "cpp11", define = "SHARED_PTR_NAMESPACE std"),
@Platform(value = "android", preload = ""),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"datasets.h",
"pytorch_adapters.h"
},
exclude = {"openblas_config.h", "cblas.h", "lapacke_config.h", "lapacke_mangling.h", "lapack.h", "lapacke.h", "lapacke_utils.h"},
link = {"c10", "torch_cpu", "torch"},
preload = {"[email protected]", "iomp5", "omp", "[email protected]", "asmjit", "fbgemm"}
),
Expand Down

0 comments on commit 3fd9228

Please sign in to comment.