Skip to content

Commit d6f8df7

Browse files
steps to install *.cmake files in dpctl/resources/cmake
1 parent 408bf28 commit d6f8df7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CMakeLists.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,19 @@ include(GNUInstallDirs)
3030
include(FetchContent)
3131

3232
FetchContent_Declare(
33-
pybind11
34-
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.9.2.tar.gz
35-
URL_HASH SHA256=6bd528c4dbe2276635dc787b6b1f2e5316cf6b49ee3e150264e455a0d68d19c1
33+
pybind11
34+
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.9.2.tar.gz
35+
URL_HASH SHA256=6bd528c4dbe2276635dc787b6b1f2e5316cf6b49ee3e150264e455a0d68d19c1
3636
)
3737
FetchContent_MakeAvailable(pybind11)
3838

3939
add_subdirectory(dpctl)
4040

41+
file(GLOB _cmake_scripts ${CMAKE_SOURCE_DIR}/cmake/*.cmake)
42+
install(FILES ${_cmake_scripts}
43+
DESTINATION dpctl/resources/cmake
44+
)
45+
4146
if (DPCTL_GENERATE_DOCS)
4247
add_subdirectory(docs)
4348
endif()

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
recursive-include dpctl/include *.h
22
include dpctl/include/dpctl4pybind11.hpp
33
recursive-include dpctl *.pxd
4+
recursive-include dpctl *.cmake
45
include dpctl/_sycl_context.h
56
include dpctl/_sycl_context_api.h
67
include dpctl/_sycl_device.h

0 commit comments

Comments
 (0)