fix library name and add public header intstallation
This commit is contained in:
parent
4ecb10ab12
commit
148f5bed4d
1 changed files with 9 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
project(
|
||||
act-cluster-library
|
||||
act_cluster
|
||||
VERSION 0.0.1
|
||||
DESCRIPTION "Library to interact with the ACT cluster system."
|
||||
)
|
||||
|
|
@ -85,5 +85,12 @@ target_link_libraries(
|
|||
# specify install targets
|
||||
install(
|
||||
TARGETS ${PROJECT_NAME}
|
||||
DESTINATION lib
|
||||
LIBRARY DESTINATION lib
|
||||
)
|
||||
|
||||
# install the public headers
|
||||
install(
|
||||
DIRECTORY ${CMAKE_SOURCE_DIR}/include/
|
||||
DESTINATION include/cluster
|
||||
FILES_MATCHING PATTERN "*.h*"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue