fixed build on Windows with MSVC2010

This commit is contained in:
Vadim Pisarevsky
2011-02-09 22:45:45 +00:00
parent 0f1a047ed0
commit d9ab1d2b92
6 changed files with 18 additions and 11 deletions

View File

@@ -1,6 +1,10 @@
#ifndef __OPENCV_GTESTCV_HPP__
#define __OPENCV_GTESTCV_HPP__
#ifndef GTEST_CREATE_AS_SHARED_LIBRARY
#define GTEST_LINKED_AS_SHARED_LIBRARY 1
#endif
#include "opencv2/ts/ts_gtest.h"
#include "opencv2/core/core.hpp"