diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 385f050b86..5de01a50bc 100755 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -112,6 +112,7 @@ include_directories( ${OPENCV_INCLUDE_DIRS} ) +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${OPENCV_INCLUDE_DIRS}") target_link_libraries( ${TARGET_NAME} ${QT_LIBRARIES}