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
52623716
Commit
52623716
authored
Aug 02, 2015
by
a-andre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install new headers like "opencv2/core.hpp"
parent
1f5fd865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+2
-2
No files found.
cmake/OpenCVModule.cmake
View file @
52623716
...
...
@@ -488,7 +488,7 @@ macro(ocv_glob_module_sources)
file
(
GLOB_RECURSE lib_srcs
"src/*.cpp"
)
file
(
GLOB_RECURSE lib_int_hdrs
"src/*.hpp"
"src/*.h"
)
file
(
GLOB lib_hdrs
"include/opencv2/
${
name
}
/*.hpp"
"include/opencv2/
${
name
}
/*.h"
)
file
(
GLOB lib_hdrs
"include/opencv2/
*.hpp"
"include/opencv2/
${
name
}
/*.hpp"
"include/opencv2/
${
name
}
/*.h"
)
file
(
GLOB lib_hdrs_detail
"include/opencv2/
${
name
}
/detail/*.hpp"
"include/opencv2/
${
name
}
/detail/*.h"
)
file
(
GLOB_RECURSE lib_srcs_apple
"src/*.mm"
)
if
(
APPLE
)
...
...
@@ -629,7 +629,7 @@ macro(ocv_create_module)
if
(
OPENCV_MODULE_
${
the_module
}
_HEADERS AND
";
${
OPENCV_MODULES_PUBLIC
}
;"
MATCHES
";
${
the_module
}
;"
)
foreach
(
hdr
${
OPENCV_MODULE_
${
the_module
}
_HEADERS
}
)
string
(
REGEX REPLACE
"^.*opencv2/"
"opencv2/"
hdr2
"
${
hdr
}
"
)
if
(
hdr2 MATCHES
"^(opencv2/.*)/[^/]+.h(..)?$"
)
if
(
hdr2 MATCHES
"^(opencv2/
?
.*)/[^/]+.h(..)?$"
)
install
(
FILES
${
hdr
}
DESTINATION
"
${
OPENCV_INCLUDE_INSTALL_PATH
}
/
${
CMAKE_MATCH_1
}
"
COMPONENT dev
)
endif
()
endforeach
()
...
...
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