From 788f330d07fe3dd229b3f2648a8090b61e555c70 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 8 Oct 2021 20:09:43 +0000 Subject: [PATCH] js: fix build of SIMD tests --- modules/ts/src/precomp.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ts/src/precomp.hpp b/modules/ts/src/precomp.hpp index a9d4404e3b..2725f63429 100644 --- a/modules/ts/src/precomp.hpp +++ b/modules/ts/src/precomp.hpp @@ -1,7 +1,9 @@ #include "opencv2/ts.hpp" #include #include "opencv2/core/utility.hpp" +#if !defined(__EMSCRIPTEN__) #include "opencv2/core/private.hpp" +#endif #ifdef GTEST_LINKED_AS_SHARED_LIBRARY #error ts module should not have GTEST_LINKED_AS_SHARED_LIBRARY defined