From 6fcff30ed8989b407dc1060cc9fe4589a2938ec0 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 26 Jun 2013 16:30:51 -0700 Subject: [PATCH] ignore warnings from OpenCV headers --- interface/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 148e6819be..0a8a0d8a61 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -108,6 +108,8 @@ include_directories( ${SPEEXDSP_INCLUDE_DIRS} ) +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${OPENCV_INCLUDE_DIRS}") + target_link_libraries(${TARGET_NAME} ${QT_LIBRARIES} ${OPENCV_LIBRARIES} ${ZLIB_LIBRARIES} ${SPEEXDSP_LIBRARIES}) if (APPLE)