Fixing static libs build on Windows

This commit is contained in:
Andrey Pavlenko 2011-09-08 13:13:37 +00:00
parent 6cb1036e04
commit f69bb74202

View File

@ -1,9 +1,14 @@
#ifndef __OPENCV_GTESTCV_HPP__
#define __OPENCV_GTESTCV_HPP__
#if HAVE_CVCONFIG_H
#include "cvconfig.h"
#endif
#ifndef GTEST_CREATE_SHARED_LIBRARY
#ifdef BUILD_SHARED_LIBS
#define GTEST_LINKED_AS_SHARED_LIBRARY 1
#endif
#endif
#ifdef ANDROID
# include <android/api-level.h>