set(ENABLE_VPX OFF CACHE BOOL "Build mediastreamer2 with VPX codec." FORCE)
endif()
endif()
if(ENABLE_QNX)
find_package(Screen)
if(NOT SCREEN_FOUND)
message(FATAL_ERROR "SCREEN NOT FOUND")
endif()
find_package(CamApi)
if(NOT CAMAPI_FOUND)
message(FATAL_ERROR "CAMAPI NOT FOUND")
endif()
endif()
if(ENABLE_SOUND AND NOT(WIN32 OR ENABLE_ALSA OR ENABLE_ARTSC OR ENABLE_MACSND OR ENABLE_MACAQSND OR ENABLE_OSS OR ENABLE_PORTAUDIO OR ENABLE_PULSEAUDIO OR ENABLE_QSA))
message(FATAL_ERROR "Could not find a support sound driver API. Use -DENABLE_SOUND=NO if you don't care about having sound.")