Skip to content

Commit 4fa17ec

Browse files
Install dpctl-config.cmake to lib/cmake folder
Update comments in dpctl-config.cmake
1 parent cad6886 commit 4fa17ec

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ file(GLOB _cmake_scripts ${CMAKE_SOURCE_DIR}/cmake/*.cmake)
7171
install(FILES ${_cmake_scripts}
7272
DESTINATION dpctl/resources/cmake
7373
)
74+
install(FILES
75+
${CMAKE_SOURCE_DIR}/cmake/dpctl-config.cmake
76+
DESTINATION lib/cmake/dpctl
77+
)
7478

7579
if (DPCTL_GENERATE_DOCS)
7680
add_subdirectory(docs)

cmake/dpctl-config.cmake

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@
66
#
77
# ``Dpctl_FOUND``
88
# True if DPCTL was found.
9-
# ``Dpctl_INCLUDE_DIRS``
10-
# The include directories needed to use Dpctl.
9+
# ``Dpctl_INCLUDE_DIR``
10+
# The include directory needed to use dpctl.
11+
# ``Dpctl_TENSOR_INCLUDE_DIR``
12+
# The include directory for tensor kernels implementation.
1113
# ``Dpctl_VERSION``
12-
# The version of DPCTL found.
14+
# The version of dpctl found.
1315
#
14-
# The module will also explicitly define one cache variable:
16+
# The module will also explicitly define two cache variables:
1517
#
1618
# ``Dpctl_INCLUDE_DIR``
19+
# ``Dpctl_TENSOR_INCLUDE_DIR``
1720
#
1821

1922
if(NOT Dpctl_FOUND)

0 commit comments

Comments
 (0)