Fixed samples build with nonfree.

This commit is contained in:
Alexander Smorkalov
2015-10-14 16:19:37 +03:00
parent bba8c0beac
commit 341e7b3be2
4 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function")
endif()
ocv_include_modules(${OPENCV_C_SAMPLES_REQUIRED_DEPS})
ocv_include_modules(${OPENCV_C_SAMPLES_REQUIRED_DEPS} opencv_nonfree)
# ---------------------------------------------
# Define executable targets