From: Andrey Pavlenko Date: Thu, 8 Sep 2011 13:13:37 +0000 (+0000) Subject: Fixing static libs build on Windows X-Git-Tag: accepted/2.0/20130307.220821~1889 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f69bb74202e106ee953485ee0a0621d9b4134c23;p=profile%2Fivi%2Fopencv.git Fixing static libs build on Windows --- diff --git a/modules/ts/include/opencv2/ts/ts.hpp b/modules/ts/include/opencv2/ts/ts.hpp index bcaa691..c3603d2 100644 --- a/modules/ts/include/opencv2/ts/ts.hpp +++ b/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