Skip to content

Commit cf52181

Browse files
CopilotRuochun
andcommitted
Fix install policy: install kernel headers to include/kernel/ for correct relative paths
Co-authored-by: Ruochun <24469442+Ruochun@users.noreply.github.com>
1 parent 63a70de commit cf52181

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)