Skip to content

Commit

Permalink
Install dpctl-config.cmake to lib/cmake folder
Browse files Browse the repository at this point in the history
Update comments in dpctl-config.cmake
  • Loading branch information
oleksandr-pavlyk committed Jan 25, 2024
1 parent cad6886 commit 4fa17ec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ file(GLOB _cmake_scripts ${CMAKE_SOURCE_DIR}/cmake/*.cmake)
install(FILES ${_cmake_scripts}
DESTINATION dpctl/resources/cmake
)
install(FILES
${CMAKE_SOURCE_DIR}/cmake/dpctl-config.cmake
DESTINATION lib/cmake/dpctl
)

if (DPCTL_GENERATE_DOCS)
add_subdirectory(docs)
Expand Down
11 changes: 7 additions & 4 deletions cmake/dpctl-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@
#
# ``Dpctl_FOUND``
# True if DPCTL was found.
# ``Dpctl_INCLUDE_DIRS``
# The include directories needed to use Dpctl.
# ``Dpctl_INCLUDE_DIR``
# The include directory needed to use dpctl.
# ``Dpctl_TENSOR_INCLUDE_DIR``
# The include directory for tensor kernels implementation.
# ``Dpctl_VERSION``
# The version of DPCTL found.
# The version of dpctl found.
#
# The module will also explicitly define one cache variable:
# The module will also explicitly define two cache variables:
#
# ``Dpctl_INCLUDE_DIR``
# ``Dpctl_TENSOR_INCLUDE_DIR``
#

if(NOT Dpctl_FOUND)
Expand Down

0 comments on commit 4fa17ec

Please sign in to comment.