Skip to content
Snippets Groups Projects
Commit 00fd050b authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

cmake: Add install target.

parent 1210a28e
No related branches found
No related tags found
No related merge requests found
...@@ -163,6 +163,14 @@ add_library(xpu SHARED ...@@ -163,6 +163,14 @@ add_library(xpu SHARED
target_link_libraries(xpu dl) target_link_libraries(xpu dl)
target_include_directories(xpu PUBLIC src) target_include_directories(xpu PUBLIC src)
install(TARGETS xpu
LIBRARY
)
install(DIRECTORY src/ TYPE INCLUDE
FILES_MATCHING PATTERN "*.h"
)
if (XPU_ENABLE_CUDA) if (XPU_ENABLE_CUDA)
xpu_create_subproject( xpu_create_subproject(
xpu Cuda xpu Cuda
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment