js: fix build of SIMD tests
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Fri, 8 Oct 2021 20:09:43 +0000 (20:09 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Fri, 8 Oct 2021 20:15:41 +0000 (20:15 +0000)
modules/ts/src/precomp.hpp

index a9d4404..2725f63 100644 (file)
@@ -1,7 +1,9 @@
 #include "opencv2/ts.hpp"
 #include <opencv2/core/utils/logger.hpp>
 #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