fix linker error when trying CPU_BASELINE=AVX

This commit is contained in:
Tomoaki Teshima 2017-07-21 21:13:47 +09:00
parent ce6b06efb9
commit 0f91faddae

View File

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