From 8ee0342f7ad22eecbcca48d78433e1ebdcb114c0 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Fri, 8 Nov 2013 14:44:42 +0000 Subject: [PATCH] Fixed install path issue with subfolder --- gtsam/base/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtsam/base/CMakeLists.txt b/gtsam/base/CMakeLists.txt index c5dd4fd56..a039a7481 100644 --- a/gtsam/base/CMakeLists.txt +++ b/gtsam/base/CMakeLists.txt @@ -1,7 +1,10 @@ # Install headers -file(GLOB base_headers "*.h" "treeTraversal/*.h") +file(GLOB base_headers "*.h") install(FILES ${base_headers} DESTINATION include/gtsam/base) +file(GLOB base_headers_tree "treeTraversal/*.h") +install(FILES ${base_headers_tree} DESTINATION include/gtsam/base/treeTraversal) + # Files to exclude from compilation of tests and timing scripts set(base_excluded_files # "${CMAKE_CURRENT_SOURCE_DIR}/tests/testTypedDiscreteFactor.cpp" # Example of excluding a test