remove ippasync samples from build without IPP-A
authorAlexander Alekhin <alexander.alekhin@itseez.com>
Wed, 9 Apr 2014 14:58:53 +0000 (18:58 +0400)
committerAlexander Alekhin <alexander.alekhin@itseez.com>
Wed, 9 Apr 2014 14:58:53 +0000 (18:58 +0400)
samples/cpp/CMakeLists.txt

index 6ef95a8..5b92b5e 100644 (file)
@@ -93,6 +93,10 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
 
   ocv_list_filterout(cpp_samples "viz")
 
+  if(NOT HAVE_IPP_A)
+    ocv_list_filterout(cpp_samples "/ippasync/")
+  endif()
+
   foreach(sample_filename ${cpp_samples})
     get_filename_component(sample ${sample_filename} NAME_WE)
     OPENCV_DEFINE_CPP_EXAMPLE(${sample}  ${sample_filename})