add_subdirectory(deviceenumerator)

if(HAVE_FFMPEG)
  #add_subdirectory(audiosocket)
  #add_subdirectory(videosocket)
  add_subdirectory(devicerecorder)
  if(HAVE_OPENCV)
    add_subdirectory(mediaserver)
    if(BUILD_ALPHA)
      add_subdirectory(waveformoutput)
    endif()
  endif()
endif()

add_subdirectory(deviceenumerator)

if(HAVE_FFMPEG)
  #add_subdirectory(audiosocket)
  #add_subdirectory(videosocket)
  if(HAVE_OPENCV)
    add_subdirectory(devicerecorder)
    add_subdirectory(mediaserver)
    if(BUILD_ALPHA)
      add_subdirectory(waveformoutput)
    endif()
  endif()
endif()

Remove sample with OpenCV dependency from default build
Remove sample with OpenCV dependency from default build
