From 5386a8e7cb3fca8c239d0f9d834ee48bf6be81e2 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Wed, 13 Oct 2010 06:17:24 +0000 Subject: [PATCH] added dependency on the new module flann (now with opencv_flann lib) --- samples/c/CMakeLists.txt | 4 ++-- samples/cpp/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/c/CMakeLists.txt b/samples/c/CMakeLists.txt index fd29b0bcb4..958275de62 100644 --- a/samples/c/CMakeLists.txt +++ b/samples/c/CMakeLists.txt @@ -33,11 +33,11 @@ if (BUILD_EXAMPLES) set_target_properties(${the_target} PROPERTIES OUTPUT_NAME "${name}" PROJECT_LABEL "(EXAMPLE) ${name}") - add_dependencies(${the_target} opencv_core opencv_imgproc opencv_highgui + add_dependencies(${the_target} opencv_core opencv_flann opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_objdetect opencv_features2d opencv_calib3d opencv_legacy opencv_contrib) target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} opencv_core - opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_objdetect + opencv_flann opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_objdetect opencv_features2d opencv_calib3d opencv_legacy opencv_contrib) if(WIN32) diff --git a/samples/cpp/CMakeLists.txt b/samples/cpp/CMakeLists.txt index cf4810f597..b669d69e8e 100644 --- a/samples/cpp/CMakeLists.txt +++ b/samples/cpp/CMakeLists.txt @@ -33,11 +33,11 @@ if (BUILD_EXAMPLES) set_target_properties(${the_target} PROPERTIES OUTPUT_NAME "${name}" PROJECT_LABEL "(EXAMPLE) ${name}") - add_dependencies(${the_target} opencv_core opencv_imgproc opencv_highgui + add_dependencies(${the_target} opencv_core opencv_flann opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_objdetect opencv_features2d opencv_calib3d opencv_legacy opencv_contrib) target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} opencv_core - opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_objdetect + opencv_flann opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_objdetect opencv_features2d opencv_calib3d opencv_legacy opencv_contrib) if(WIN32)