Fixed remaining DESTINATION include/*

release/4.3a0
Jai Moraes 2025-01-16 10:13:27 -05:00
parent d35ff2e3f8
commit 903e7de15f
4 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Install the header files including the generated Config.h (which is in # Install the header files including the generated Config.h (which is in
# the build tree). # the build tree).
file (GLOB HEADERS [A-Za-z]*.hpp) file (GLOB HEADERS [A-Za-z]*.hpp)
install (FILES ${HEADERS} DESTINATION include/GeographicLib) install (FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GeographicLib)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/Config.h install (FILES ${CMAKE_CURRENT_BINARY_DIR}/Config.h
DESTINATION include/GeographicLib) DESTINATION include/GeographicLib)

View File

@ -20,7 +20,7 @@ set(CEPHES_HEADER_FILES
dllexport.h) dllexport.h)
# Add header files # Add header files
install(FILES ${CEPHES_HEADER_FILES} DESTINATION include/gtsam/3rdparty/cephes) install(FILES ${CEPHES_HEADER_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/gtsam/3rdparty/cephes)
set(CEPHES_SOURCES set(CEPHES_SOURCES
cephes/airy.c cephes/airy.c

View File

@ -1,7 +1,7 @@
# Install headers # Install headers
set(subdir hybrid) set(subdir hybrid)
file(GLOB hybrid_headers "*.h") file(GLOB hybrid_headers "*.h")
install(FILES ${hybrid_headers} DESTINATION include/gtsam/hybrid) install(FILES ${hybrid_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/gtsam/hybrid)
# Add all tests # Add all tests
add_subdirectory(tests) add_subdirectory(tests)

View File

@ -634,6 +634,7 @@ TEST(SubgraphSolver, Solves) {
KeyInfo keyInfo(Ab); KeyInfo keyInfo(Ab);
std::map<Key, Vector> lambda; std::map<Key, Vector> lambda;
system.build(Ab, keyInfo, lambda); system.build(Ab, keyInfo, lambda);
// Create a perturbed (non-zero) RHS // Create a perturbed (non-zero) RHS
const auto xbar = system.Rc1().optimize(); // merely for use in zero below const auto xbar = system.Rc1().optimize(); // merely for use in zero below
auto values_y = VectorValues::Zero(xbar); auto values_y = VectorValues::Zero(xbar);