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:
0f6503d
)
Fixed precompiled headers support for opencv_test_gpu
author
Andrey Kamaev
<no@email>
Sun, 24 Jul 2011 22:07:43 +0000
(22:07 +0000)
committer
Andrey Kamaev
<no@email>
Sun, 24 Jul 2011 22:07:43 +0000
(22:07 +0000)
OpenCVModule.cmake
patch
|
blob
|
history
diff --git
a/OpenCVModule.cmake
b/OpenCVModule.cmake
index
389a10b
..
53a24bd
100644
(file)
--- a/
OpenCVModule.cmake
+++ b/
OpenCVModule.cmake
@@
-1,7
+1,7
@@
#opencv precompiled headers macro (can add pch to modules and tests)
#this macro must be called after any "add_definitions" commands, otherwise precompiled headers will not work
macro(add_opencv_precompiled_headers the_target)
- if(
the_target MATCHES opencv_test_
)
+ if(
"${the_target}" MATCHES "opencv_test_.*"
)
SET(pch_name "test/test_precomp")
else()
SET(pch_name "src/precomp")