From 11816ebc5b862730b4ff3a0619891146eed45858 Mon Sep 17 00:00:00 2001
From: andrewssobral <andrewssobral@gmail.com>
Date: Sat, 4 Mar 2023 08:29:38 +0100
Subject: [PATCH] Set bgslibrary installation path to /usr/local/bin/bgslibrary

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b46ec6..fe068a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -314,7 +314,7 @@ if(NOT BGS_PYTHON_ONLY)
   )
   set_target_properties(bgslibrary_core PROPERTIES EXPORT_NAME BGSLibrary)
 
-  install(DIRECTORY bgslibrary/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+  install(DIRECTORY bgslibrary/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/bgslibrary)
   install(EXPORT bgslibrary_core-targets
     FILE
       BGSLibraryTargets.cmake
-- 
GitLab