Skip to content

Commit 62b2037

Browse files
authored
Merge pull request #3 from Ruochun/copilot/fix-installation-policy
Fix install policy: install kernel headers under include/kernel/
2 parents b905b9e + cf52181 commit 62b2037

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,11 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/src/kernel/ DESTINATION ${CMAKE_BINARY_DIR}/
292292
file(COPY ${CMAKE_CURRENT_LIST_DIR}/src/DEM/Defines.h DESTINATION ${CMAKE_BINARY_DIR}/DEM)
293293
file(COPY ${CMAKE_CURRENT_LIST_DIR}/src/DEM/VariableTypes.h DESTINATION ${CMAKE_BINARY_DIR}/DEM)
294294
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/src/kernel/ DESTINATION ${CMAKE_INSTALL_DATADIR}/DEME/kernel/)
295+
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/src/kernel/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/kernel/
296+
FILES_MATCHING
297+
PATTERN "*.cuh"
298+
PATTERN "*.h"
299+
)
295300

296301
# ---------------------------------------------------------------------------- #
297302
# Build embedded demos

0 commit comments

Comments
 (0)