Fixing static libs build on Windows

pull/13383/head
Andrey Pavlenko 14 years ago
parent 6cb1036e04
commit f69bb74202
  1. 5
      modules/ts/include/opencv2/ts/ts.hpp

@ -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>

Loading…
Cancel
Save