Skip to content

Commit 7b219fc

Browse files
committed
Remove unused includes in the CMake files for the extensions
1 parent d933695 commit 7b219fc

File tree

6 files changed

+5
-15
lines changed

6 files changed

+5
-15
lines changed

dpnp/backend/extensions/blas/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ set_target_properties(
6565

6666
target_include_directories(
6767
${python_module_name}
68-
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../ ${CMAKE_CURRENT_SOURCE_DIR}/../common
68+
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../common
6969
)
7070

7171
# treat below headers as system to suppress the warnings there during the build

dpnp/backend/extensions/fft/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ set_target_properties(
5757
PROPERTIES CMAKE_POSITION_INDEPENDENT_CODE ON
5858
)
5959

60-
target_include_directories(
61-
${python_module_name}
62-
PRIVATE
63-
${CMAKE_CURRENT_SOURCE_DIR}/../../include
64-
${CMAKE_CURRENT_SOURCE_DIR}/../../src
65-
)
66-
6760
# treat below headers as system to suppress the warnings there during the build
6861
target_include_directories(
6962
${python_module_name}

dpnp/backend/extensions/indexing/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ set_target_properties(
6262

6363
target_include_directories(
6464
${python_module_name}
65-
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../ ${CMAKE_CURRENT_SOURCE_DIR}/../common
65+
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../common
6666
)
6767

6868
# treat below headers as system to suppress the warnings there during the build

dpnp/backend/extensions/lapack/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ set_target_properties(
8282

8383
target_include_directories(
8484
${python_module_name}
85-
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../ ${CMAKE_CURRENT_SOURCE_DIR}/../common
85+
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../common
8686
)
8787

8888
# treat below headers as system to suppress the warnings there during the build

dpnp/backend/extensions/statistics/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ set_target_properties(
6767

6868
target_include_directories(
6969
${python_module_name}
70-
PRIVATE
71-
${CMAKE_CURRENT_SOURCE_DIR}/../../include
72-
${CMAKE_CURRENT_SOURCE_DIR}/../../src
73-
${CMAKE_CURRENT_SOURCE_DIR}/../common
70+
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../common
7471
)
7572

7673
# treat below headers as system to suppress the warnings there during the build

dpnp/backend/extensions/vm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ set_target_properties(
107107

108108
target_include_directories(
109109
${python_module_name}
110-
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../ ${CMAKE_CURRENT_SOURCE_DIR}/../common
110+
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../common
111111
)
112112

113113
# treat below headers as system to suppress the warnings there during the build

0 commit comments

Comments
 (0)