projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f97b20
)
Fixed #1608
author
Andrey Kamaev
<no@email>
Sun, 19 Feb 2012 21:56:21 +0000
(21:56 +0000)
committer
Andrey Kamaev
<no@email>
Sun, 19 Feb 2012 21:56:21 +0000
(21:56 +0000)
cmake/templates/OpenCVConfig.cmake.in
patch
|
blob
|
history
diff --git
a/cmake/templates/OpenCVConfig.cmake.in
b/cmake/templates/OpenCVConfig.cmake.in
index
57aa20c
..
9040ce1
100644
(file)
--- a/
cmake/templates/OpenCVConfig.cmake.in
+++ b/
cmake/templates/OpenCVConfig.cmake.in
@@
-132,6
+132,9
@@
endif()
# ==============================================================
if(NOT OpenCV_FIND_COMPONENTS)
set(OpenCV_FIND_COMPONENTS ${OpenCV_LIB_COMPONENTS})
+ if(GTest_FOUND OR GTEST_FOUND)
+ list(REMOVE_ITEM OpenCV_FIND_COMPONENTS opencv_ts)
+ endif()
endif()
# expand short module names and see if requested components exist