Skip to content

Commit

Permalink
TEST: using a correct path to a directory with OpenCV dlls
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed May 23, 2024
1 parent 6928e95 commit 558d23c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ CI?: "true" = get-env "CI"
if CI? [
;; for the CI test the module is the build directory
system/options/modules: to-real-file %build/
;; include the directory in PATH environment variable
;; (so OpenCV can find its libraries)
set-env "PATH" ajoin [
to-local-file system/options/modules
pick [#";" #":"] system/platform = 'Windows
get-env "PATH"
if system/platform = 'Windows [
;; include a directory with OpenCV dlls in the PATH environment variable
set-env "PATH" ajoin [
probe to-local-file to-real-file rejoin [%build/ system/build/arch %/vc17/bin/]
#";" get-env "PATH"
]
]
]

Expand Down

0 comments on commit 558d23c

Please sign in to comment.