Skip to content

Commit 1ae79d4

Browse files
build: fix setup_ult_global_flags.cmake usage in shared folder
Signed-off-by: Artur Harasimiuk <[email protected]>
1 parent 67626a1 commit 1ae79d4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

shared/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2021-2022 Intel Corporation
2+
# Copyright (C) 2021-2023 Intel Corporation
33
#
44
# SPDX-License-Identifier: MIT
55
#
@@ -8,7 +8,6 @@ add_subdirectory(source)
88
add_subdirectory(generate_cpp_array)
99

1010
set(SHARED_TEST_PROJECTS_FOLDER "neo shared")
11-
include(${NEO_SOURCE_DIR}/cmake/setup_ult_global_flags.cmake)
1211

1312
if(NOT NEO_SKIP_UNIT_TESTS)
1413
add_custom_target(unit_tests)

shared/test/common/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# SPDX-License-Identifier: MIT
55
#
66

7+
include(${NEO_SOURCE_DIR}/cmake/setup_ult_global_flags.cmake)
8+
79
add_library(neo_libult_common OBJECT EXCLUDE_FROM_ALL
810
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
911
${CMAKE_CURRENT_SOURCE_DIR}/tests_configuration.cpp

shared/test/unit_test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ endfunction()
1313
ADD_SUPPORTED_TEST_PRODUCT_FAMILIES_DEFINITION()
1414
link_libraries(${ASAN_LIBS} ${TSAN_LIBS})
1515

16+
include(${NEO_SOURCE_DIR}/cmake/setup_ult_global_flags.cmake)
17+
1618
add_executable(neo_shared_tests
1719
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
1820
${CMAKE_CURRENT_SOURCE_DIR}/api_specific_config_ult.cpp

0 commit comments

Comments
 (0)