# Copyright (c) 2017, Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.


if(GEN8_BDW)
    media_include_subdirectory(media_interfaces_m8_bdw)
endif()

if(GEN9_BXT)
    media_include_subdirectory(media_interfaces_m9_bxt)
endif()

if(GEN9_SKL)
    media_include_subdirectory(media_interfaces_m9_skl)
endif()

if(GEN9_CFL)
    media_include_subdirectory(media_interfaces_m9_cfl)
endif()

if(GEN9_GLK)
    media_include_subdirectory(media_interfaces_m9_glk)
endif()

if(GEN9_KBL)
    media_include_subdirectory(media_interfaces_m9_kbl)
endif()

if(GEN10_CNL)
    media_include_subdirectory(media_interfaces_m10_cnl)
endif()

if(GEN11_ICLLP)
    media_include_subdirectory(media_interfaces_m11_icllp)
endif()

if(GEN11_JSL)
    media_include_subdirectory(media_interfaces_m11_jsl_ehl)
endif()

if(GEN12_TGLLP)
    media_include_subdirectory(media_interfaces_m12_tgllp)
endif()

if(GEN12_DG1)
    media_include_subdirectory(media_interfaces_m12_dg1)
endif()

if(GEN12_RKL)
    media_include_subdirectory(media_interfaces_m12_rkl)
endif()

if(GEN12_ADLS)
    media_include_subdirectory(media_interfaces_m12_adls)
endif()

include(${MEDIA_EXT}/media_interface/media_srcs.cmake OPTIONAL)
