# Maintainer: joaander

# find all header files in this directory
file(GLOB HDRS ${CMAKE_CURRENT_SOURCE_DIR}/*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.cuh)

# install them
install(FILES ${HDRS} DESTINATION ${INC_INSTALL_DIR})

# install moderngpu
install(DIRECTORY device DESTINATION ${INC_INSTALL_DIR})
install(DIRECTORY util DESTINATION ${INC_INSTALL_DIR})
install(DIRECTORY kernels DESTINATION ${INC_INSTALL_DIR})

# Maintainer: joaander

# find all header files in this directory
file(GLOB HDRS ${CMAKE_CURRENT_SOURCE_DIR}/*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.cuh)

# install them
install(FILES ${HDRS} DESTINATION ${INC_INSTALL_DIR})

# install moderngpu
install(DIRECTORY device DESTINATION ${INC_INSTALL_DIR})
install(DIRECTORY util DESTINATION ${INC_INSTALL_DIR})
install(DIRECTORY kernels DESTINATION ${INC_INSTALL_DIR})

# install cub
INSTALL(DIRECTORY cub DESTINATION ${INC_INSTALL_DIR})

Add CMake install for cub
Add CMake install for cub
