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
fc84c48b
Commit
fc84c48b
authored
Jun 08, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8860 from alalek:fix_java_headers
parents
fd7e516b
59798b3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
CMakeLists.txt
modules/java/CMakeLists.txt
+8
-1
No files found.
modules/java/CMakeLists.txt
View file @
fc84c48b
...
...
@@ -149,7 +149,14 @@ foreach(module ${OPENCV_JAVA_MODULES})
file
(
STRINGS
"
${
custom_header_list
}
"
module_headers
)
ocv_list_add_prefix
(
module_headers
"
${
OPENCV_MODULE_opencv_
${
module
}
_LOCATION
}
/"
)
else
()
set
(
module_headers
"
${
OPENCV_MODULE_opencv_
${
module
}
_HEADERS
}
"
)
set
(
module_headers
""
)
# TODO Implement module's "_HEADERS_PUBLIC" variable (OpenCVModule.cmake)
foreach
(
hdr
${
OPENCV_MODULE_opencv_
${
module
}
_HEADERS
}
)
string
(
REGEX REPLACE
"^.*opencv2/"
"opencv2/"
hdr2
"
${
hdr
}
"
)
if
(
NOT hdr2 MATCHES
"opencv2/
${
m
}
/private.*"
AND hdr2 MATCHES
"^(opencv2/?.*)/[^/]+.h(..)?$"
)
list
(
APPEND module_headers
"
${
hdr
}
"
)
endif
()
endforeach
()
endif
()
if
(
NOT module_headers
)
...
...
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