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