Commit f91aad32 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed precompiled headers support for opencv_test_gpu

parent 0f6503d9
#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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment