Skip to content

Commit 2590a87

Browse files
small cmake cleanup
Change-Id: I379327082a0527e41e8394274d8ad1c02378a294 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
1 parent b52aec0 commit 2590a87

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

opencl/test/unit_test/libult/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ macro(macro_for_each_gen)
1414
foreach(BRANCH_DIR ${BRANCH_DIR_LIST})
1515
string(REGEX REPLACE "/$" "" _BRANCH_FILENAME_SUFFIX "${BRANCH_DIR}")
1616
string(REGEX REPLACE "^/" "_" _BRANCH_FILENAME_SUFFIX "${_BRANCH_FILENAME_SUFFIX}")
17-
foreach(SRC_IT "enable_hw_info_config_" "enable_")
17+
foreach(SRC_IT "enable_hw_info_config_" "enable_" "enable_family_full_core_")
1818
set(SRC_FILE ${NEO_SHARED_DIRECTORY}/${GEN_TYPE_LOWER}${BRANCH_DIR}${SRC_IT}${GEN_TYPE_LOWER}${_BRANCH_FILENAME_SUFFIX}.cpp)
1919
if(EXISTS ${SRC_FILE})
2020
list(APPEND IGDRCL_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
@@ -23,11 +23,11 @@ macro(macro_for_each_gen)
2323
if(EXISTS ${SRC_FILE})
2424
list(APPEND IGDRCL_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
2525
endif()
26+
set(SRC_FILE ${NEO_SHARED_DIRECTORY}${BRANCH_DIR}${GEN_TYPE_LOWER}/${SRC_IT}${GEN_TYPE_LOWER}.cpp)
27+
if(EXISTS ${SRC_FILE})
28+
list(APPEND IGDRCL_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
29+
endif()
2630
endforeach()
27-
set(SRC_FILE ${NEO_SHARED_DIRECTORY}${BRANCH_DIR}${GEN_TYPE_LOWER}/enable_family_full_core_${GEN_TYPE_LOWER}.cpp)
28-
if(EXISTS ${SRC_FILE})
29-
list(APPEND IGDRCL_SRCS_ENABLE_TESTED_HW ${SRC_FILE})
30-
endif()
3131
endforeach()
3232

3333
if(EXISTS "${NEO_SHARED_TEST_DIRECTORY}/unit_test/${GEN_TYPE_LOWER}/cmd_parse${BRANCH_DIR_SUFFIX}/cmd_parse_${GEN_TYPE_LOWER}.inl")

0 commit comments

Comments
 (0)