mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
suppress warning on GCC 7 and later
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
set(the_description "Machine Learning")
|
||||
if(ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
|
||||
# suppress warnings from GCC only on 7.1 and later
|
||||
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-psabi)
|
||||
endif()
|
||||
ocv_define_module(ml opencv_core WRAP java python)
|
||||
|
||||
Reference in New Issue
Block a user