added #include "cvconfig.h" to make TBB and other 3rd party libs work correctly

This commit is contained in:
Vadim Pisarevsky
2010-06-29 15:12:07 +00:00
parent 10b5a51731
commit 7ec4b59fac
9 changed files with 54 additions and 14 deletions

View File

@@ -38,11 +38,15 @@
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
#ifndef __OPENCV_LEGACY_PRECOMP_H__
#define __OPENCV_LEGACY_PRECOMP_H__
#ifndef __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#if _MSC_VER >= 1200
#pragma warning( disable: 4251 4710 4711 4514 4996 ) /* function AAA selected for automatic inline expansion */
#pragma warning( disable: 4251 4710 4711 4514 4996 )
#endif
#ifdef HAVE_CONFIG_H
#include <cvconfig.h>
#endif
#include "opencv2/legacy/legacy.hpp"