From 28238ba041ef7f6e9bef6dfda7bc219bf102fbe2 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 23 Oct 2023 20:58:23 -0700 Subject: [PATCH] Install headers correctly. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a6fc85..cfac812 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.22) project(scsl LANGUAGES CXX - VERSION 1.0.1 + VERSION 1.0.2 DESCRIPTION "Shimmering Clarity Standard Library") set(CMAKE_CXX_STANDARD 14) @@ -154,7 +154,7 @@ add_custom_target(deploy-docs configure_file(scsl.pc.in scsl.pc @ONLY) install(TARGETS scsl LIBRARY DESTINATION lib) install(TARGETS phonebook RUNTIME DESTINATION bin) -install(FILES ${HEADER_FILES} DESTINATION include/scsl) +install(DIRECTORY include/ DESTINATION include) install(FILES scslConfig.cmake DESTINATION share/scsl/cmake) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/scsl.pc DESTINATION lib/pkgconfig)