fixed compilation warnings
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Mon, 8 Apr 2013 11:43:06 +0000 (15:43 +0400)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Mon, 8 Apr 2013 13:25:16 +0000 (17:25 +0400)
modules/nonfree/CMakeLists.txt
modules/softcascade/CMakeLists.txt

index 55f6b41..5689a12 100644 (file)
@@ -3,4 +3,5 @@ if(BUILD_ANDROID_PACKAGE)
 endif()
 
 set(the_description "Functionality with possible limitations on the use")
+ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
 ocv_define_module(nonfree opencv_imgproc opencv_features2d opencv_calib3d OPTIONAL opencv_gpu opencv_ocl)
index d558e8d..84d098d 100644 (file)
@@ -1,3 +1,3 @@
 set(the_description "Soft Cascade detection and training")
-ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4310 -Wundef -Wsign-promo -Wmissing-declarations -Wmissing-prototypes)
+ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4310 -Wundef -Wmissing-declarations -Wmissing-prototypes)
 ocv_define_module(softcascade opencv_core opencv_imgproc opencv_ml)