fix linker error when trying CPU_BASELINE=AVX
This commit is contained in:
parent
ce6b06efb9
commit
0f91faddae
@ -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
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user