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
094f1437
Commit
094f1437
authored
Feb 28, 2015
by
Olexa Bilaniuk
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/upstream/master'
parents
5748cea8
7d4d2860
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+2
-2
OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+3
-2
No files found.
cmake/OpenCVModule.cmake
View file @
094f1437
...
...
@@ -20,7 +20,7 @@
# OPENCV_MODULE_${the_module}_PRIVATE_OPT_DEPS
# OPENCV_MODULE_${the_module}_IS_PART_OF_WORLD
# OPENCV_MODULE_${the_module}_CUDA_OBJECTS - compiled CUDA objects list
# OPENCV_MODULE_${the_module}_CHILDREN - list of submodules for compound modules
# OPENCV_MODULE_${the_module}_CHILDREN - list of submodules for compound modules
(cmake >= 2.8.8)
# HAVE_${the_module} - for fast check of module availability
# To control the setup of the module you could also set:
...
...
@@ -666,7 +666,7 @@ macro(_ocv_create_module)
if
(
OPENCV_MODULE_
${
the_module
}
_CHILDREN
)
status
(
"Complex module
${
the_module
}
"
)
foreach
(
m
${
OPENCV_MODULE_
${
the_module
}
_CHILDREN
}
)
if
(
BUILD_
${
m
}
AND TARGET
${
m
}
_object
)
# ambigous?
if
(
BUILD_
${
m
}
AND TARGET
${
m
}
_object
)
get_target_property
(
_sub_links
${
m
}
LINK_LIBRARIES
)
list
(
APPEND sub_objs $<TARGET_OBJECTS:
${
m
}
_object>
)
list
(
APPEND sub_links
${
_sub_links
}
)
...
...
cmake/OpenCVUtils.cmake
View file @
094f1437
...
...
@@ -788,8 +788,9 @@ function(ocv_add_library target)
add_library
(
${
target
}
${
ARGN
}
${
cuda_objs
}
)
# Add OBJECT library to use in compound modules
if
(
NOT OPENCV_MODULE_
${
target
}
_CHILDREN
# Add OBJECT library (added in cmake 2.8.8) to use in compound modules
if
(
NOT CMAKE_VERSION VERSION_LESS
"2.8.8"
AND NOT OPENCV_MODULE_
${
target
}
_CHILDREN
AND NOT OPENCV_MODULE_
${
target
}
_CLASS STREQUAL
"BINDINGS"
AND NOT
${
target
}
STREQUAL
"opencv_ts"
)
...
...
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