From 9667a8a1aef0af79c9e42a0bd312b555806d6b0c Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Tue, 20 Aug 2013 12:51:33 +0400 Subject: [PATCH] Fix the name of perf tests' precompiled header. (cherry picked from commit aa96d8d053c3d0c367da7c1c1f9c73ed376b3bfa) --- cmake/OpenCVModule.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake index 44e43fc2b2..80c07bda36 100644 --- a/cmake/OpenCVModule.cmake +++ b/cmake/OpenCVModule.cmake @@ -645,7 +645,7 @@ function(ocv_add_perf_tests) set(OPENCV_PERF_${the_module}_SOURCES ${perf_srcs} ${perf_hdrs}) endif() - get_native_precompiled_header(${the_target} test_precomp.hpp) + get_native_precompiled_header(${the_target} perf_precomp.hpp) add_executable(${the_target} ${OPENCV_PERF_${the_module}_SOURCES} ${${the_target}_pch}) target_link_libraries(${the_target} ${OPENCV_MODULE_${the_module}_DEPS} ${perf_deps} ${OPENCV_LINKER_LIBS})