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
7bfd0708
Commit
7bfd0708
authored
Jun 17, 2015
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4095 from alalek:hal_unresolved_symbols
parents
bf843477
8184e57d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+2
-6
CMakeLists.txt
modules/core/CMakeLists.txt
+4
-2
CMakeLists.txt
modules/hal/CMakeLists.txt
+0
-1
CMakeLists.txt
modules/world/CMakeLists.txt
+4
-2
No files found.
cmake/OpenCVModule.cmake
View file @
7bfd0708
...
@@ -176,15 +176,11 @@ macro(ocv_add_module _name)
...
@@ -176,15 +176,11 @@ macro(ocv_add_module _name)
endif
()
endif
()
endif
()
endif
()
# add HAL as dependency
if
(
NOT
"
${
the_module
}
"
STREQUAL
"opencv_hal"
)
ocv_add_dependencies
(
${
the_module
}
opencv_hal
)
endif
()
# add self to the world dependencies
# add self to the world dependencies
if
((
NOT DEFINED OPENCV_MODULE_IS_PART_OF_WORLD
if
((
NOT DEFINED OPENCV_MODULE_IS_PART_OF_WORLD
AND NOT OPENCV_MODULE_
${
the_module
}
_CLASS STREQUAL
"BINDINGS"
AND NOT OPENCV_MODULE_
${
the_module
}
_CLASS STREQUAL
"BINDINGS"
AND NOT OPENCV_PROCESSING_EXTRA_MODULES
)
AND NOT OPENCV_PROCESSING_EXTRA_MODULES
AND
(
NOT BUILD_SHARED_LIBS OR NOT
"x
${
OPENCV_MODULE_TYPE
}
"
STREQUAL
"xSTATIC"
))
OR OPENCV_MODULE_IS_PART_OF_WORLD
OR OPENCV_MODULE_IS_PART_OF_WORLD
)
)
set
(
OPENCV_MODULE_
${
the_module
}
_IS_PART_OF_WORLD ON CACHE INTERNAL
""
)
set
(
OPENCV_MODULE_
${
the_module
}
_IS_PART_OF_WORLD ON CACHE INTERNAL
""
)
...
...
modules/core/CMakeLists.txt
View file @
7bfd0708
set
(
the_description
"The Core Functionality"
)
set
(
the_description
"The Core Functionality"
)
ocv_add_module
(
core PRIVATE_REQUIRED
${
ZLIB_LIBRARIES
}
"
${
OPENCL_LIBRARIES
}
"
ocv_add_module
(
core
opencv_hal
PRIVATE_REQUIRED
${
ZLIB_LIBRARIES
}
"
${
OPENCL_LIBRARIES
}
"
OPTIONAL opencv_cudev
OPTIONAL opencv_cudev
WRAP java python
)
WRAP java python
)
set
(
extra_libs
""
)
set
(
extra_libs
""
)
...
...
modules/hal/CMakeLists.txt
View file @
7bfd0708
set
(
the_description
"The Hardware Acceleration Layer (HAL) module"
)
set
(
the_description
"The Hardware Acceleration Layer (HAL) module"
)
set
(
OPENCV_MODULE_TYPE STATIC
)
set
(
OPENCV_MODULE_TYPE STATIC
)
# set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
if
(
UNIX
)
if
(
UNIX
)
if
(
CMAKE_COMPILER_IS_GNUCXX OR CV_ICC
)
if
(
CMAKE_COMPILER_IS_GNUCXX OR CV_ICC
)
...
...
modules/world/CMakeLists.txt
View file @
7bfd0708
...
@@ -35,8 +35,10 @@ set(headers_list "HEADERS")
...
@@ -35,8 +35,10 @@ set(headers_list "HEADERS")
set
(
sources_list
"SOURCES"
)
set
(
sources_list
"SOURCES"
)
set
(
link_deps
""
)
set
(
link_deps
""
)
foreach
(
m
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
)
foreach
(
m
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
)
set
(
headers_list
"
${
headers_list
}
;
${
OPENCV_MODULE_
${
m
}
_HEADERS
}
"
)
if
(
OPENCV_MODULE_
${
m
}
_IS_PART_OF_WORLD
)
set
(
sources_list
"
${
sources_list
}
;
${
OPENCV_MODULE_
${
m
}
_SOURCES
}
"
)
set
(
headers_list
"
${
headers_list
}
;
${
OPENCV_MODULE_
${
m
}
_HEADERS
}
"
)
set
(
sources_list
"
${
sources_list
}
;
${
OPENCV_MODULE_
${
m
}
_SOURCES
}
"
)
endif
()
set
(
link_deps
"
${
link_deps
}
;
${
OPENCV_MODULE_
${
m
}
_LINK_DEPS
}
"
)
set
(
link_deps
"
${
link_deps
}
;
${
OPENCV_MODULE_
${
m
}
_LINK_DEPS
}
"
)
endforeach
()
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