From 148f5bed4d17f8d5f23b81fd75f7e5b99b76f28f Mon Sep 17 00:00:00 2001 From: Fabian Posch Date: Thu, 11 Jan 2024 11:53:17 -0500 Subject: [PATCH] fix library name and add public header intstallation --- CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6507f33..b898d88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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*" )