Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
0bd33c8d
Commit
0bd33c8d
authored
7 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
android: don't use relative paths to contrib modules
parent
ca1975ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
build_sdk.py
platforms/android/build_sdk.py
+6
-0
No files found.
platforms/android/build_sdk.py
View file @
0bd33c8d
...
...
@@ -317,6 +317,12 @@ if __name__ == "__main__":
if
os
.
path
.
realpath
(
args
.
work_dir
)
==
os
.
path
.
realpath
(
args
.
opencv_dir
):
raise
Fail
(
"Specify workdir (building from OpenCV source directory is not supported)"
)
# Relative paths become invalid in sub-directories
if
args
.
opencv_dir
is
not
None
and
not
os
.
path
.
isabs
(
args
.
opencv_dir
):
args
.
opencv_dir
=
os
.
path
.
abspath
(
args
.
opencv_dir
)
if
args
.
extra_modules_path
is
not
None
and
not
os
.
path
.
isabs
(
args
.
extra_modules_path
):
args
.
extra_modules_path
=
os
.
path
.
abspath
(
args
.
extra_modules_path
)
cpath
=
args
.
config
if
not
os
.
path
.
exists
(
cpath
):
cpath
=
os
.
path
.
join
(
SCRIPT_DIR
,
cpath
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment