1 --- opencv-2.4.11/samples/gpu/CMakeLists.txt.orig 2015-02-25 13:10:31.000000000 +0100
2 +++ opencv-2.4.11/samples/gpu/CMakeLists.txt 2015-05-19 18:35:11.803554049 +0200
5 ocv_check_dependencies(${OPENCV_GPU_SAMPLES_REQUIRED_DEPS})
7 +# remove all matching elements from the list
8 +MACRO(list_filterout lst regex)
9 + foreach(item ${${lst}})
10 + if(item MATCHES "${regex}")
11 + list(REMOVE_ITEM ${lst} "${item}")
16 if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
18 string(TOUPPER "${project}" project_upper)
23 - # remove all matching elements from the list
24 - MACRO(list_filterout lst regex)
25 - foreach(item ${${lst}})
26 - if(item MATCHES "${regex}")
27 - list(REMOVE_ITEM ${lst} "${item}")
32 file(GLOB all_samples RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)