Added helper commands and configuration to make it easier to install
This commit is contained in:
parent
2e8a5aa3a6
commit
b1a0dd3ecd
3 changed files with 17 additions and 6 deletions
|
|
@ -46,7 +46,6 @@ add_dependencies(kompute
|
|||
|
||||
add_library(kompute::kompute ALIAS kompute)
|
||||
|
||||
|
||||
install(TARGETS kompute EXPORT KomputeTargets
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
|
|
@ -54,8 +53,11 @@ install(TARGETS kompute EXPORT KomputeTargets
|
|||
|
||||
install(DIRECTORY include/ DESTINATION include)
|
||||
|
||||
install(DIRECTORY ${PROJECT_SOURCE_DIR}/single_include/
|
||||
DESTINATION include)
|
||||
|
||||
install(EXPORT KomputeTargets
|
||||
FILE KomputeTargets.cmake
|
||||
NAMESPACE kp::
|
||||
FILE komputeConfig.cmake
|
||||
NAMESPACE kompute::
|
||||
DESTINATION lib/cmake/kompute)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue