js: fix build of SIMD tests

This commit is contained in:
Alexander Alekhin 2021-10-08 20:09:43 +00:00
parent cca4c47781
commit 788f330d07

View File

@ -1,7 +1,9 @@
#include "opencv2/ts.hpp" #include "opencv2/ts.hpp"
#include <opencv2/core/utils/logger.hpp> #include <opencv2/core/utils/logger.hpp>
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#if !defined(__EMSCRIPTEN__)
#include "opencv2/core/private.hpp" #include "opencv2/core/private.hpp"
#endif
#ifdef GTEST_LINKED_AS_SHARED_LIBRARY #ifdef GTEST_LINKED_AS_SHARED_LIBRARY
#error ts module should not have GTEST_LINKED_AS_SHARED_LIBRARY defined #error ts module should not have GTEST_LINKED_AS_SHARED_LIBRARY defined