Commit 0f91fadd authored by Tomoaki Teshima's avatar Tomoaki Teshima

fix linker error when trying CPU_BASELINE=AVX

parent ce6b06ef
...@@ -45,9 +45,11 @@ ...@@ -45,9 +45,11 @@
#include <opencv2/dnn.hpp> #include <opencv2/dnn.hpp>
#include <opencv2/dnn/shape_utils.hpp> #include <opencv2/dnn/shape_utils.hpp>
#define CV_CPU_OPTIMIZATION_DECLARATIONS_ONLY
// dispatched AVX/AVX2 optimizations // dispatched AVX/AVX2 optimizations
#include "layers/layers_common.simd.hpp" #include "layers/layers_common.simd.hpp"
#include "layers/layers_common.simd_declarations.hpp" #include "layers/layers_common.simd_declarations.hpp"
#undef CV_CPU_OPTIMIZATION_DECLARATIONS_ONLY
namespace cv namespace cv
{ {
......
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