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
efc7dbaa
Commit
efc7dbaa
authored
Jan 14, 2015
by
Claudio Caraffi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent linking failure, bug 4108
parent
b2a5e66f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+4
-4
No files found.
cmake/OpenCVModule.cmake
View file @
efc7dbaa
...
...
@@ -808,7 +808,7 @@ function(ocv_add_perf_tests)
__ocv_parse_test_sources
(
PERF
${
ARGN
}
)
# opencv_imgcodecs is required for imread/imwrite
set
(
perf_deps
${
the_module
}
opencv_ts
opencv_imgcodecs
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
OPENCV_MODULE_opencv_ts_DEPS
}
)
set
(
perf_deps
opencv_ts
${
the_module
}
opencv_imgcodecs
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
OPENCV_MODULE_opencv_ts_DEPS
}
)
ocv_check_dependencies
(
${
perf_deps
}
)
if
(
OCV_DEPENDENCIES_FOUND
)
...
...
@@ -829,7 +829,7 @@ function(ocv_add_perf_tests)
ocv_add_executable
(
${
the_target
}
${
OPENCV_PERF_
${
the_module
}
_SOURCES
}
${${
the_target
}
_pch
}
)
ocv_target_include_modules
(
${
the_target
}
${
perf_deps
}
"
${
perf_path
}
"
)
ocv_target_link_libraries
(
${
the_target
}
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
perf_deps
}
${
OPENCV_LINKER_LIBS
}
)
ocv_target_link_libraries
(
${
the_target
}
${
perf_deps
}
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
OPENCV_LINKER_LIBS
}
)
add_dependencies
(
opencv_perf_tests
${
the_target
}
)
# Additional target properties
...
...
@@ -864,7 +864,7 @@ function(ocv_add_accuracy_tests)
__ocv_parse_test_sources
(
TEST
${
ARGN
}
)
# opencv_imgcodecs is required for imread/imwrite
set
(
test_deps
${
the_module
}
opencv_ts
opencv_imgcodecs opencv_videoio
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
OPENCV_MODULE_opencv_ts_DEPS
}
)
set
(
test_deps
opencv_ts
${
the_module
}
opencv_imgcodecs opencv_videoio
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
OPENCV_MODULE_opencv_ts_DEPS
}
)
ocv_check_dependencies
(
${
test_deps
}
)
if
(
OCV_DEPENDENCIES_FOUND
)
set
(
the_target
"opencv_test_
${
name
}
"
)
...
...
@@ -884,7 +884,7 @@ function(ocv_add_accuracy_tests)
ocv_add_executable
(
${
the_target
}
${
OPENCV_TEST_
${
the_module
}
_SOURCES
}
${${
the_target
}
_pch
}
)
ocv_target_include_modules
(
${
the_target
}
${
test_deps
}
"
${
test_path
}
"
)
ocv_target_link_libraries
(
${
the_target
}
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
test_deps
}
${
OPENCV_LINKER_LIBS
}
)
ocv_target_link_libraries
(
${
the_target
}
${
test_deps
}
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
OPENCV_LINKER_LIBS
}
)
add_dependencies
(
opencv_tests
${
the_target
}
)
# Additional target properties
...
...
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