projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3d6bc
)
dnn:perf add missing definition __OPENCV_TEST to fix pch
author
Sayed Adel
<seiko@imavr.com>
Sun, 31 Mar 2019 01:28:33 +0000
(
03:28
+0200)
committer
Sayed Adel
<seiko@imavr.com>
Sun, 31 Mar 2019 01:28:33 +0000
(
03:28
+0200)
modules/dnn/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/modules/dnn/CMakeLists.txt
b/modules/dnn/CMakeLists.txt
index
d97829f
..
2cc0851
100644
(file)
--- a/
modules/dnn/CMakeLists.txt
+++ b/
modules/dnn/CMakeLists.txt
@@
-98,6
+98,10
@@
ocv_add_perf_tests(${INF_ENGINE_TARGET}
FILES Src ${perf_srcs}
FILES Include ${perf_hdrs}
)
+set_property(
+ SOURCE "${CMAKE_CURRENT_LIST_DIR}/test/test_common.cpp"
+ PROPERTY COMPILE_DEFINITIONS "__OPENCV_TESTS=1"
+)
ocv_option(${the_module}_PERF_CAFFE "Add performance tests of Caffe framework" OFF)
ocv_option(${the_module}_PERF_CLCAFFE "Add performance tests of clCaffe framework" OFF)