From 38812378eb5e47aa9f3197fdc2618f1ef211998b Mon Sep 17 00:00:00 2001
From: Jeremie Deray <jeremie.deray@pal-robotics.com>
Date: Mon, 14 Nov 2016 15:06:42 +0100
Subject: [PATCH] fix spdlog install

---
 src/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b8362a52b..b38d0436b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -113,6 +113,7 @@ INCLUDE_DIRECTORIES(.)
 
 # include spdlog (logging) third_party
 INCLUDE_DIRECTORIES(../third_party/spdlog/include)
+set(SPDLOG_INCLUDE_DIRS "../third_party/spdlog/include/")
 
 INCLUDE_DIRECTORIES(${EIGEN_INCLUDE_DIRS})
 
@@ -474,6 +475,8 @@ DESTINATION include/iri-algorithms/wolf/internal)
 
 INSTALL(FILES "${CMAKE_BINARY_DIR}/wolfConfig.cmake" DESTINATION "lib/cmake/${PROJECT_NAME}")
 
+INSTALL(DIRECTORY ${SPDLOG_INCLUDE_DIRS} DESTINATION "include/iri-algorithms/")
+
 export(PACKAGE ${PROJECT_NAME})
 
 IF(BUILD_EXAMPLES)
-- 
GitLab