mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
22 lines
593 B
CMake
22 lines
593 B
CMake
#
|
|
# Copyright (C) 2020-2021 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
if(SUPPORT_DG1)
|
|
set(SHARED_SRCS_ADDITIONAL_FILES_GEN12LP
|
|
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/helpers_gen12lp_dg1.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/helpers_gen12lp.h
|
|
)
|
|
else()
|
|
set(SHARED_SRCS_ADDITIONAL_FILES_GEN12LP
|
|
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/helpers_gen12lp.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/helpers_gen12lp.h
|
|
)
|
|
endif()
|
|
|
|
set_property(GLOBAL PROPERTY SHARED_SRCS_ADDITIONAL_FILES_GEN12LP ${SHARED_SRCS_ADDITIONAL_FILES_GEN12LP})
|
|
|
|
add_subdirectories()
|