refactor: define release helper sources only once

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-06-03 10:17:02 +00:00
committed by Compute-Runtime-Automation
parent eb3b0c5711
commit f3fa58de15
4 changed files with 12 additions and 16 deletions

View File

@@ -140,7 +140,6 @@ endif()
if(TESTS_XE_HPG_CORE OR TESTS_XE_HPC_CORE)
list(APPEND neo_libult_common_SRCS_LIB_ULT
${NEO_SHARED_TEST_DIRECTORY}/common/helpers/unit_test_helper_xe_hpg_and_xe_hpc.inl
${NEO_SHARED_DIRECTORY}/release_helper/enable_release_helper_xe.cpp
)
endif()
@@ -150,6 +149,8 @@ if(TESTS_PVC_AND_LATER)
)
endif()
append_sources_from_properties(neo_libult_common_SRCS_LIB_ULT NEO_CORE_ENABLE_RELEASE_HELPER)
set_property(GLOBAL PROPERTY neo_libult_common_SRCS_LIB_ULT ${neo_libult_common_SRCS_LIB_ULT})
set_property(GLOBAL PROPERTY neo_libult_common_SRCS_ENABLE_TESTED_HW ${neo_libult_common_SRCS_ENABLE_TESTED_HW})