diff --git a/modules/gapi/include/opencv2/gapi/own/exports.hpp b/modules/gapi/include/opencv2/gapi/own/exports.hpp index 0d955d0e4c..b1eddaa591 100644 --- a/modules/gapi/include/opencv2/gapi/own/exports.hpp +++ b/modules/gapi/include/opencv2/gapi/own/exports.hpp @@ -8,7 +8,7 @@ #ifndef OPENCV_GAPI_OWN_TYPES_HPP #define OPENCV_GAPI_OWN_TYPES_HPP -# if 0 +# if defined(__OPENCV_BUILD) # include # define GAPI_EXPORTS CV_EXPORTS