File tree Expand file tree Collapse file tree 15 files changed +60
-1
lines changed Expand file tree Collapse file tree 15 files changed +60
-1
lines changed Original file line number Diff line number Diff line change 1
1
set (the_description "ArUco Marker Detection" )
2
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
3
+ # suppress warnings from GCC only on 7.1 and later
4
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
5
+ endif ()
2
6
ocv_define_module (aruco opencv_core opencv_imgproc opencv_calib3d WRAP python java )
3
7
ocv_include_directories (${CMAKE_CURRENT_BINARY_DIR} )
4
8
Original file line number Diff line number Diff line change 1
1
set (the_description "Custom Calibration Pattern" )
2
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
3
+ # suppress warnings from GCC only on 7.1 and later
4
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
5
+ endif ()
2
6
ocv_define_module (ccalib opencv_core opencv_imgproc opencv_calib3d opencv_features2d opencv_highgui WRAP python )
Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ ocv_warnings_disable(CMAKE_CXX_FLAGS
13
13
/wd4267 # flann, Win64
14
14
-Wimplicit-fallthrough # tinyxml2.cpp
15
15
)
16
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
17
+ # suppress warnings from GCC only on 7.1 and later
18
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
19
+ endif ()
Original file line number Diff line number Diff line change 1
1
set (the_description "Object Detection using CNNs" )
2
-
2
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
3
+ # suppress warnings from GCC only on 7.1 and later
4
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
5
+ endif ()
3
6
ocv_define_module (dnn_objdetect opencv_core opencv_imgproc opencv_dnn
4
7
OPTIONAL opencv_highgui opencv_imgcodecs # samples
5
8
)
Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ set(the_description "Object Detection")
3
3
ocv_define_module (dpm opencv_core opencv_imgproc opencv_objdetect OPTIONAL opencv_highgui WRAP python )
4
4
5
5
ocv_warnings_disable (CMAKE_CXX_FLAGS /wd4512 ) # disable warning on Win64
6
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
7
+ # suppress warnings from GCC only on 7.1 and later
8
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
9
+ endif ()
Original file line number Diff line number Diff line change 1
1
set (the_description "Face recognition etc" )
2
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
3
+ # suppress warnings from GCC only on 7.1 and later
4
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
5
+ endif ()
2
6
ocv_define_module (face opencv_core
3
7
opencv_imgproc
4
8
opencv_objdetect
Original file line number Diff line number Diff line change 1
1
set (the_description "Line descriptor" )
2
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
3
+ # suppress warnings from GCC only on 7.1 and later
4
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
5
+ endif ()
2
6
ocv_define_module (line_descriptor opencv_imgproc OPTIONAL opencv_features2d WRAP python )
Original file line number Diff line number Diff line change 1
1
set (the_description "Optical Flow Algorithms" )
2
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
3
+ # suppress warnings from GCC only on 7.1 and later
4
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
5
+ endif ()
2
6
ocv_define_module (optflow opencv_core opencv_imgproc opencv_video opencv_ximgproc opencv_imgcodecs opencv_flann WRAP python )
Original file line number Diff line number Diff line change 1
1
set (the_description "RGBD algorithms" )
2
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
3
+ # suppress warnings from GCC only on 7.1 and later
4
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
5
+ endif ()
2
6
ocv_define_module (rgbd opencv_core opencv_calib3d opencv_imgproc WRAP python )
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ set(__extra_deps "")
3
3
if (DEBUG_opencv_text )
4
4
list (APPEND __extra_deps PRIVATE_REQUIRED opencv_highgui )
5
5
endif ()
6
+ if (ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0 )
7
+ # suppress warnings from GCC only on 7.1 and later
8
+ ocv_warnings_disable (CMAKE_CXX_FLAGS -Wno-psabi )
9
+ endif ()
6
10
7
11
ocv_define_module (text
8
12
opencv_ml opencv_imgproc opencv_core opencv_features2d opencv_dnn
You can’t perform that action at this time.
0 commit comments